diff options
Diffstat (limited to 'crypto/src/cms/KeyTransRecipientInfoGenerator.cs')
-rw-r--r-- | crypto/src/cms/KeyTransRecipientInfoGenerator.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/cms/KeyTransRecipientInfoGenerator.cs b/crypto/src/cms/KeyTransRecipientInfoGenerator.cs index 9a2cbc5b0..a998ac90f 100644 --- a/crypto/src/cms/KeyTransRecipientInfoGenerator.cs +++ b/crypto/src/cms/KeyTransRecipientInfoGenerator.cs @@ -19,7 +19,7 @@ namespace Org.BouncyCastle.Cms private Asn1OctetString m_subjectKeyIdentifier; public KeyTransRecipientInfoGenerator(X509Certificate recipCert, IKeyWrapper keyWrapper) - : this(new IssuerAndSerialNumber(recipCert.IssuerDN, new DerInteger(recipCert.SerialNumber)), keyWrapper) + : this(new IssuerAndSerialNumber(recipCert.CertificateStructure), keyWrapper) { } |