summary refs log tree commit diff
path: root/crypto/src/asn1/Asn1Object.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2021-10-14 22:49:24 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2021-10-14 22:49:24 +0700
commit378482f5a877e34ae9cabade06d6f3111c088f49 (patch)
tree79c396cc9b79d129e95ec3927c54d139d6b5bc72 /crypto/src/asn1/Asn1Object.cs
parentAdd withID to Encode method (diff)
downloadBouncyCastle.NET-ed25519-378482f5a877e34ae9cabade06d6f3111c088f49.tar.xz
Initial pass at EncodedLength methods
Diffstat (limited to 'crypto/src/asn1/Asn1Object.cs')
-rw-r--r--crypto/src/asn1/Asn1Object.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/src/asn1/Asn1Object.cs b/crypto/src/asn1/Asn1Object.cs
index 7c7f87704..415c0a721 100644
--- a/crypto/src/asn1/Asn1Object.cs
+++ b/crypto/src/asn1/Asn1Object.cs
@@ -62,6 +62,8 @@ namespace Org.BouncyCastle.Asn1
             return this;
         }
 
+        internal abstract int EncodedLength(bool withID);
+
         internal abstract void Encode(Asn1OutputStream asn1Out, bool withID);
 
         protected abstract bool Asn1Equals(Asn1Object asn1Object);