From cc8742fd7e36c6bc7b773c75a797e478f21aa1df Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Sun, 7 Nov 2021 22:30:33 +0700 Subject: Add EncodeConstructed method --- crypto/src/asn1/DerT61String.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crypto/src/asn1/DerT61String.cs') diff --git a/crypto/src/asn1/DerT61String.cs b/crypto/src/asn1/DerT61String.cs index 82a8b3a43..cf2123131 100644 --- a/crypto/src/asn1/DerT61String.cs +++ b/crypto/src/asn1/DerT61String.cs @@ -77,6 +77,11 @@ namespace Org.BouncyCastle.Asn1 return str; } + internal override bool EncodeConstructed() + { + return false; + } + internal override int EncodedLength(bool withID) { return Asn1OutputStream.GetLengthOfEncodingDL(withID, str.Length); -- cgit 1.4.1