summary refs log tree commit diff
path: root/crypto/src/asn1/DerSequence.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2021-10-14 16:29:14 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2021-10-14 16:29:14 +0700
commitb31a21061c5a42bc4325a911bcc18169feaddbbf (patch)
treea611ace1d4c1337794b0f4e7ee2f4661a4b02589 /crypto/src/asn1/DerSequence.cs
parentObsolete DerOutputStream (diff)
downloadBouncyCastle.NET-ed25519-b31a21061c5a42bc4325a911bcc18169feaddbbf.tar.xz
Add Asn1Encodable.EncodeTo methods
Diffstat (limited to 'crypto/src/asn1/DerSequence.cs')
-rw-r--r--crypto/src/asn1/DerSequence.cs2
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)
             {