diff options
Diffstat (limited to 'crypto/src/asn1/DerUTF8String.cs')
-rw-r--r-- | crypto/src/asn1/DerUTF8String.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/src/asn1/DerUTF8String.cs b/crypto/src/asn1/DerUTF8String.cs index 8126e10ae..0406f4a71 100644 --- a/crypto/src/asn1/DerUTF8String.cs +++ b/crypto/src/asn1/DerUTF8String.cs @@ -89,6 +89,11 @@ namespace Org.BouncyCastle.Asn1 return this.str.Equals(other.str); } + internal override bool EncodeConstructed() + { + return false; + } + internal override int EncodedLength(bool withID) { return Asn1OutputStream.GetLengthOfEncodingDL(withID, Encoding.UTF8.GetByteCount(str)); |