diff options
Diffstat (limited to 'crypto/src/pqc')
-rw-r--r-- | crypto/src/pqc/crypto/utils/PqcPrivateKeyFactory.cs (renamed from crypto/src/pqc/crypto/utils/PrivateKeyFactory.cs) | 2 | ||||
-rw-r--r-- | crypto/src/pqc/crypto/utils/PqcPrivateKeyInfoFactory.cs (renamed from crypto/src/pqc/crypto/utils/PrivateKeyInfoFactory.cs) | 2 | ||||
-rw-r--r-- | crypto/src/pqc/crypto/utils/PqcPublicKeyFactory.cs (renamed from crypto/src/pqc/crypto/utils/PublicKeyFactory.cs) | 5 | ||||
-rw-r--r-- | crypto/src/pqc/crypto/utils/PqcSubjectPublicKeyInfoFactory.cs (renamed from crypto/src/pqc/crypto/utils/SubjectPublicKeyInfoFactory.cs) | 2 |
4 files changed, 5 insertions, 6 deletions
diff --git a/crypto/src/pqc/crypto/utils/PrivateKeyFactory.cs b/crypto/src/pqc/crypto/utils/PqcPrivateKeyFactory.cs index 6ad9bdb0c..f01988169 100644 --- a/crypto/src/pqc/crypto/utils/PrivateKeyFactory.cs +++ b/crypto/src/pqc/crypto/utils/PqcPrivateKeyFactory.cs @@ -24,7 +24,7 @@ using Org.BouncyCastle.Utilities; namespace Org.BouncyCastle.Pqc.Crypto.Utilities { - public static class PrivateKeyFactory + public static class PqcPrivateKeyFactory { /// <summary> Create a private key parameter from a PKCS8 PrivateKeyInfo encoding.</summary> /// <param name="privateKeyInfoData"> the PrivateKeyInfo encoding</param> diff --git a/crypto/src/pqc/crypto/utils/PrivateKeyInfoFactory.cs b/crypto/src/pqc/crypto/utils/PqcPrivateKeyInfoFactory.cs index 53b34b3f4..ce0300cf4 100644 --- a/crypto/src/pqc/crypto/utils/PrivateKeyInfoFactory.cs +++ b/crypto/src/pqc/crypto/utils/PqcPrivateKeyInfoFactory.cs @@ -20,7 +20,7 @@ using Org.BouncyCastle.Utilities; namespace Org.BouncyCastle.Pqc.Crypto.Utilities { - public static class PrivateKeyInfoFactory + public static class PqcPrivateKeyInfoFactory { /// <summary> Create a PrivateKeyInfo representation of a private key.</summary> /// <param name="privateKey"> the key to be encoded into the info object.</param> diff --git a/crypto/src/pqc/crypto/utils/PublicKeyFactory.cs b/crypto/src/pqc/crypto/utils/PqcPublicKeyFactory.cs index 792dc6f40..c8ca11de6 100644 --- a/crypto/src/pqc/crypto/utils/PublicKeyFactory.cs +++ b/crypto/src/pqc/crypto/utils/PqcPublicKeyFactory.cs @@ -8,7 +8,6 @@ using Org.BouncyCastle.Asn1.Pkcs; using Org.BouncyCastle.Asn1.X509; using Org.BouncyCastle.Crypto; using Org.BouncyCastle.Crypto.Utilities; -using Org.BouncyCastle.Math; using Org.BouncyCastle.Pqc.Asn1; using Org.BouncyCastle.Pqc.Crypto.Bike; using Org.BouncyCastle.Pqc.Crypto.Cmce; @@ -25,12 +24,12 @@ using Org.BouncyCastle.Utilities; namespace Org.BouncyCastle.Pqc.Crypto.Utilities { - public static class PublicKeyFactory + public static class PqcPublicKeyFactory { private static Dictionary<DerObjectIdentifier, SubjectPublicKeyInfoConverter> Converters = new Dictionary<DerObjectIdentifier, SubjectPublicKeyInfoConverter>(); - static PublicKeyFactory() + static PqcPublicKeyFactory() { Converters[PkcsObjectIdentifiers.IdAlgHssLmsHashsig] = new LmsConverter(); diff --git a/crypto/src/pqc/crypto/utils/SubjectPublicKeyInfoFactory.cs b/crypto/src/pqc/crypto/utils/PqcSubjectPublicKeyInfoFactory.cs index 2b16cb260..756308460 100644 --- a/crypto/src/pqc/crypto/utils/SubjectPublicKeyInfoFactory.cs +++ b/crypto/src/pqc/crypto/utils/PqcSubjectPublicKeyInfoFactory.cs @@ -23,7 +23,7 @@ namespace Org.BouncyCastle.Pqc.Crypto.Utilities /// <summary> /// A factory to produce Public Key Info Objects. /// </summary> - public static class SubjectPublicKeyInfoFactory + public static class PqcSubjectPublicKeyInfoFactory { /// <summary> /// Create a Subject Public Key Info object for a given public key. |