diff options
author | David Hook <dgh@bouncycastle.org> | 2015-10-12 16:39:22 +1100 |
---|---|---|
committer | David Hook <dgh@bouncycastle.org> | 2015-10-12 16:39:22 +1100 |
commit | 454a3299691ed04f7be1cf4866af2c3f90621fd2 (patch) | |
tree | e4099ef725af5a7ff5f7e418bd91a9c6311a13c1 /crypto/src/x509/X509V2AttributeCertificateGenerator.cs | |
parent | Initial cut of signature generation operators. (diff) | |
download | BouncyCastle.NET-ed25519-454a3299691ed04f7be1cf4866af2c3f90621fd2.tar.xz |
Fixed generics
Diffstat (limited to 'crypto/src/x509/X509V2AttributeCertificateGenerator.cs')
-rw-r--r-- | crypto/src/x509/X509V2AttributeCertificateGenerator.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/x509/X509V2AttributeCertificateGenerator.cs b/crypto/src/x509/X509V2AttributeCertificateGenerator.cs index 1cbdbcfcb..33aa40c6e 100644 --- a/crypto/src/x509/X509V2AttributeCertificateGenerator.cs +++ b/crypto/src/x509/X509V2AttributeCertificateGenerator.cs @@ -157,7 +157,7 @@ namespace Org.BouncyCastle.X509 /// </summary> /// <param name="signatureCalculator">A signature calculator with the necessary algorithm details.</param> /// <returns>An IX509AttributeCertificate.</returns> - public IX509AttributeCertificate Generate(ISignatureCalculator<AlgorithmIdentifier> signatureCalculator) + public IX509AttributeCertificate Generate(ISignatureCalculator signatureCalculator) { if (!extGenerator.IsEmpty) { @@ -176,7 +176,7 @@ namespace Org.BouncyCastle.X509 Asn1EncodableVector v = new Asn1EncodableVector(); - v.Add(acInfo, signatureCalculator.AlgorithmDetails); + v.Add(acInfo, (AlgorithmIdentifier)signatureCalculator.AlgorithmDetails); try { |