diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-10-14 14:17:03 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-10-14 14:17:03 +0700 |
commit | bd5c69224e0c177298607503ed4e2a50776a8370 (patch) | |
tree | 4efe6b206a421bbe9813544f6c17818496d59684 /crypto/src/cms | |
parent | Obsolete BerOutputStream (diff) | |
download | BouncyCastle.NET-ed25519-bd5c69224e0c177298607503ed4e2a50776a8370.tar.xz |
Obsolete DerOutputStream
Diffstat (limited to 'crypto/src/cms')
-rw-r--r-- | crypto/src/cms/CMSSignedDataGenerator.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/cms/CMSSignedDataGenerator.cs b/crypto/src/cms/CMSSignedDataGenerator.cs index f2676a440..beabab911 100644 --- a/crypto/src/cms/CMSSignedDataGenerator.cs +++ b/crypto/src/cms/CMSSignedDataGenerator.cs @@ -165,8 +165,8 @@ namespace Org.BouncyCastle.Cms signedAttr = outer.GetAttributeSet(signed); - // sig must be composed from the DER encoding. - new DerOutputStream(sigStr).WriteObject(signedAttr); + // sig must be composed from the DER encoding. + Asn1OutputStream.Create(sigStr, Asn1Encodable.Der).WriteObject(signedAttr); } else if (content != null) { |