diff options
Diffstat (limited to 'crypto/src/cms/KeyTransRecipientInformation.cs')
-rw-r--r-- | crypto/src/cms/KeyTransRecipientInformation.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/cms/KeyTransRecipientInformation.cs b/crypto/src/cms/KeyTransRecipientInformation.cs index 2a40fed06..e09e6015f 100644 --- a/crypto/src/cms/KeyTransRecipientInformation.cs +++ b/crypto/src/cms/KeyTransRecipientInformation.cs @@ -40,7 +40,7 @@ namespace Org.BouncyCastle.Cms { Asn1OctetString octs = Asn1OctetString.GetInstance(r.ID); - rid.SubjectKeyIdentifier = octs.GetOctets(); + rid.SubjectKeyIdentifier = octs.GetEncoded(Asn1Encodable.Der); } else { |