diff options
author | David Hook <dgh@bouncycastle.org> | 2015-10-24 20:39:19 +1100 |
---|---|---|
committer | David Hook <dgh@bouncycastle.org> | 2015-10-24 20:39:19 +1100 |
commit | 97244e96eee11da4255a6eca3c45f3e321602694 (patch) | |
tree | 8f1fdfddd4f001d06f827f74db49e9691b2d2a4e /crypto/src | |
parent | fixed file name (diff) | |
download | BouncyCastle.NET-ed25519-97244e96eee11da4255a6eca3c45f3e321602694.tar.xz |
Fixed naming of Asn1 implementation
Diffstat (limited to 'crypto/src')
-rw-r--r-- | crypto/src/crypto/operators/Asn1Signature.cs | 4 | ||||
-rw-r--r-- | crypto/src/pkcs/Pkcs10CertificationRequest.cs | 2 | ||||
-rw-r--r-- | crypto/src/x509/X509Crl.cs | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/crypto/src/crypto/operators/Asn1Signature.cs b/crypto/src/crypto/operators/Asn1Signature.cs index 4f1e16761..8060e27cc 100644 --- a/crypto/src/crypto/operators/Asn1Signature.cs +++ b/crypto/src/crypto/operators/Asn1Signature.cs @@ -529,7 +529,7 @@ namespace Org.BouncyCastle.Crypto.Operators /// <summary> /// Provider class which supports dynamic creation of signature verifiers. /// </summary> - public class Asn1SignatureVerifierProvider: IVerifierFactoryProvider + public class Asn1VerifierFactoryProvider: IVerifierFactoryProvider { private readonly AsymmetricKeyParameter publicKey; @@ -537,7 +537,7 @@ namespace Org.BouncyCastle.Crypto.Operators /// Base constructor - specify the public key to be used in verification. /// </summary> /// <param name="publicKey">The public key to be used in creating verifiers provided by this object.</param> - public Asn1SignatureVerifierProvider(AsymmetricKeyParameter publicKey) + public Asn1VerifierFactoryProvider(AsymmetricKeyParameter publicKey) { this.publicKey = publicKey; } diff --git a/crypto/src/pkcs/Pkcs10CertificationRequest.cs b/crypto/src/pkcs/Pkcs10CertificationRequest.cs index c581f8b34..f9f5e7c6c 100644 --- a/crypto/src/pkcs/Pkcs10CertificationRequest.cs +++ b/crypto/src/pkcs/Pkcs10CertificationRequest.cs @@ -322,7 +322,7 @@ namespace Org.BouncyCastle.Pkcs public bool Verify( AsymmetricKeyParameter publicKey) { - return Verify(new Asn1SignatureVerifierProvider(publicKey)); + return Verify(new Asn1VerifierFactoryProvider(publicKey)); } public bool Verify( diff --git a/crypto/src/x509/X509Crl.cs b/crypto/src/x509/X509Crl.cs index 0492720a2..7b9547a1c 100644 --- a/crypto/src/x509/X509Crl.cs +++ b/crypto/src/x509/X509Crl.cs @@ -84,7 +84,7 @@ namespace Org.BouncyCastle.X509 public virtual void Verify( AsymmetricKeyParameter publicKey) { - Verify(new Asn1SignatureVerifierProvider(publicKey)); + Verify(new Asn1VerifierFactoryProvider(publicKey)); } /// <summary> |