diff options
Diffstat (limited to 'crypto/src/asn1/DerApplicationSpecific.cs')
-rw-r--r-- | crypto/src/asn1/DerApplicationSpecific.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/src/asn1/DerApplicationSpecific.cs b/crypto/src/asn1/DerApplicationSpecific.cs index a71526876..bc48d24e5 100644 --- a/crypto/src/asn1/DerApplicationSpecific.cs +++ b/crypto/src/asn1/DerApplicationSpecific.cs @@ -163,12 +163,12 @@ namespace Org.BouncyCastle.Asn1 return FromByteArray(tmp); } - internal override bool EncodeConstructed() + internal override bool EncodeConstructed(int encoding) { - throw Platform.CreateNotImplementedException("DerApplicationSpecific.EncodeConstructed"); + return isConstructed; } - internal override int EncodedLength(bool withID) + internal override int EncodedLength(int encoding, bool withID) { return Asn1OutputStream.GetLengthOfEncodingDL(withID, tag, octets.Length); } |