summary refs log tree commit diff
path: root/crypto/src/asn1/IAsn1Convertible.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2024-06-04 20:49:14 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2024-06-04 20:49:14 +0700
commit114cc8223deeadd0047d966d517ac11fbc63893d (patch)
tree775f73ea5b051ed1673a9805f1665cd4bef60bbf /crypto/src/asn1/IAsn1Convertible.cs
parentRefactoring in Asn1.BC (diff)
downloadBouncyCastle.NET-ed25519-114cc8223deeadd0047d966d517ac11fbc63893d.tar.xz
Refactor GetInstance methods
Diffstat (limited to 'crypto/src/asn1/IAsn1Convertible.cs')
-rw-r--r--crypto/src/asn1/IAsn1Convertible.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/src/asn1/IAsn1Convertible.cs b/crypto/src/asn1/IAsn1Convertible.cs
index d3f83afc9..77b12c310 100644
--- a/crypto/src/asn1/IAsn1Convertible.cs
+++ b/crypto/src/asn1/IAsn1Convertible.cs
@@ -1,6 +1,8 @@
 namespace Org.BouncyCastle.Asn1
 {
-	public interface IAsn1Convertible
+    // TODO[api] Make generic on the return type of ToAsn1Object()
+    // TODO[api] Have a different interface that is only for custom ASN.1 types
+    public interface IAsn1Convertible
 	{
 		Asn1Object ToAsn1Object();
 	}