summary refs log tree commit diff
path: root/crypto/src/asn1/IAsn1Encoding.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2021-11-16 22:37:52 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2021-11-16 22:37:52 +0700
commitbe15049124860ccb7335b92215e8b8dfa1821bf9 (patch)
tree7a86ed2110021307465a617076d601ca812c69ed /crypto/src/asn1/IAsn1Encoding.cs
parentMake cast more specific (diff)
downloadBouncyCastle.NET-ed25519-be15049124860ccb7335b92215e8b8dfa1821bf9.tar.xz
ASN.1: Staged encoding
Diffstat (limited to 'crypto/src/asn1/IAsn1Encoding.cs')
-rw-r--r--crypto/src/asn1/IAsn1Encoding.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/crypto/src/asn1/IAsn1Encoding.cs b/crypto/src/asn1/IAsn1Encoding.cs
new file mode 100644
index 000000000..557064af8
--- /dev/null
+++ b/crypto/src/asn1/IAsn1Encoding.cs
@@ -0,0 +1,11 @@
+using System;
+
+namespace Org.BouncyCastle.Asn1
+{
+    internal interface IAsn1Encoding
+    {
+        void Encode(Asn1OutputStream asn1Out);
+
+        int GetLength();
+    }
+}