diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-10-14 16:29:14 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-10-14 16:29:14 +0700 |
commit | b31a21061c5a42bc4325a911bcc18169feaddbbf (patch) | |
tree | a611ace1d4c1337794b0f4e7ee2f4661a4b02589 /crypto/src/asn1/DerSequence.cs | |
parent | Obsolete DerOutputStream (diff) | |
download | BouncyCastle.NET-ed25519-b31a21061c5a42bc4325a911bcc18169feaddbbf.tar.xz |
Add Asn1Encodable.EncodeTo methods
Diffstat (limited to 'crypto/src/asn1/DerSequence.cs')
-rw-r--r-- | crypto/src/asn1/DerSequence.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/DerSequence.cs b/crypto/src/asn1/DerSequence.cs index 651350d91..9b4504cfe 100644 --- a/crypto/src/asn1/DerSequence.cs +++ b/crypto/src/asn1/DerSequence.cs @@ -63,7 +63,7 @@ namespace Org.BouncyCastle.Asn1 // TODO Intermediate buffer could be avoided if we could calculate expected length MemoryStream bOut = new MemoryStream(); - Asn1OutputStream dOut = Asn1OutputStream.Create(bOut, Asn1Encodable.Der); + Asn1OutputStream dOut = Asn1OutputStream.Create(bOut, Der); foreach (Asn1Encodable obj in this) { |