summary refs log tree commit diff
path: root/crypto/src/asn1/DerSequence.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2021-11-06 23:39:42 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2021-11-06 23:39:42 +0700
commitf6f0935f51e33f1ccd01fb4d167abc23a4c9b1d1 (patch)
treec1d42127be4455f042e895ac9d0b12d3d98d9460 /crypto/src/asn1/DerSequence.cs
parentTrim the stack trace (diff)
downloadBouncyCastle.NET-ed25519-f6f0935f51e33f1ccd01fb4d167abc23a4c9b1d1.tar.xz
Rewrite DerExternal
Diffstat (limited to '')
-rw-r--r--crypto/src/asn1/DerSequence.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/crypto/src/asn1/DerSequence.cs b/crypto/src/asn1/DerSequence.cs
index 6750b8a50..d703cd0f5 100644
--- a/crypto/src/asn1/DerSequence.cs
+++ b/crypto/src/asn1/DerSequence.cs
@@ -45,6 +45,11 @@ namespace Org.BouncyCastle.Asn1
 		{
 		}
 
+        internal DerSequence(Asn1Encodable[] elements, bool clone)
+            : base(elements, clone)
+        {
+        }
+
         internal override int EncodedLength(bool withID)
         {
             throw Platform.CreateNotImplementedException("DerSequence.EncodedLength");
@@ -84,5 +89,10 @@ namespace Org.BouncyCastle.Asn1
 
             Platform.Dispose(dOut);
         }
+
+        internal override DerExternal ToAsn1External()
+        {
+            return new DerExternal(this);
+        }
     }
 }