diff options
Diffstat (limited to 'crypto/src/asn1/DerGeneralString.cs')
-rw-r--r-- | crypto/src/asn1/DerGeneralString.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/crypto/src/asn1/DerGeneralString.cs b/crypto/src/asn1/DerGeneralString.cs index 01c75e278..9724870b1 100644 --- a/crypto/src/asn1/DerGeneralString.cs +++ b/crypto/src/asn1/DerGeneralString.cs @@ -61,6 +61,11 @@ namespace Org.BouncyCastle.Asn1 return Strings.ToAsciiByteArray(str); } + internal override bool EncodeConstructed() + { + return false; + } + internal override int EncodedLength(bool withID) { return Asn1OutputStream.GetLengthOfEncodingDL(withID, str.Length); @@ -71,7 +76,7 @@ namespace Org.BouncyCastle.Asn1 asn1Out.WriteEncodingDL(withID, Asn1Tags.GeneralString, GetOctets()); } - protected override bool Asn1Equals( + protected override bool Asn1Equals( Asn1Object asn1Object) { DerGeneralString other = asn1Object as DerGeneralString; |