diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-11-07 22:30:33 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-11-07 22:30:33 +0700 |
commit | cc8742fd7e36c6bc7b773c75a797e478f21aa1df (patch) | |
tree | e7ac8d41b18e30f9168271beb404dc1a9dcba34c /crypto/src/asn1/DerNull.cs | |
parent | Rewrite DerExternal (diff) | |
download | BouncyCastle.NET-ed25519-cc8742fd7e36c6bc7b773c75a797e478f21aa1df.tar.xz |
Add EncodeConstructed method
Diffstat (limited to 'crypto/src/asn1/DerNull.cs')
-rw-r--r-- | crypto/src/asn1/DerNull.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/src/asn1/DerNull.cs b/crypto/src/asn1/DerNull.cs index 1ee374db4..5ca8ba771 100644 --- a/crypto/src/asn1/DerNull.cs +++ b/crypto/src/asn1/DerNull.cs @@ -16,6 +16,11 @@ namespace Org.BouncyCastle.Asn1 { } + internal override bool EncodeConstructed() + { + return false; + } + internal override int EncodedLength(bool withID) { return Asn1OutputStream.GetLengthOfEncodingDL(withID, 0); |