diff options
Diffstat (limited to 'crypto/src/asn1/cms/EncryptedContentInfo.cs')
-rw-r--r-- | crypto/src/asn1/cms/EncryptedContentInfo.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/cms/EncryptedContentInfo.cs b/crypto/src/asn1/cms/EncryptedContentInfo.cs index 94a5c00c2..3c9718b80 100644 --- a/crypto/src/asn1/cms/EncryptedContentInfo.cs +++ b/crypto/src/asn1/cms/EncryptedContentInfo.cs @@ -46,7 +46,7 @@ namespace Org.BouncyCastle.Asn1.Cms m_contentType = DerObjectIdentifier.GetInstance(seq[pos++]); m_contentEncryptionAlgorithm = AlgorithmIdentifier.GetInstance(seq[pos++]); - m_encryptedContent = Asn1Utilities.ReadOptionalContextTagged(seq, ref pos, 0, false, Asn1OctetString.GetInstance); + m_encryptedContent = Asn1Utilities.ReadOptionalContextTagged(seq, ref pos, 0, false, Asn1OctetString.GetTagged); if (pos != count) throw new ArgumentException("Unexpected elements in sequence", nameof(seq)); |