diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-11-06 23:39:42 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-11-06 23:39:42 +0700 |
commit | f6f0935f51e33f1ccd01fb4d167abc23a4c9b1d1 (patch) | |
tree | c1d42127be4455f042e895ac9d0b12d3d98d9460 /crypto/src/asn1/DerSequence.cs | |
parent | Trim the stack trace (diff) | |
download | BouncyCastle.NET-ed25519-f6f0935f51e33f1ccd01fb4d167abc23a4c9b1d1.tar.xz |
Rewrite DerExternal
Diffstat (limited to '')
-rw-r--r-- | crypto/src/asn1/DerSequence.cs | 10 |
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); + } } } |