From b31a21061c5a42bc4325a911bcc18169feaddbbf Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Thu, 14 Oct 2021 16:29:14 +0700 Subject: Add Asn1Encodable.EncodeTo methods --- crypto/src/asn1/DerSequence.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/src/asn1/DerSequence.cs') 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) { -- cgit 1.4.1