diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-11-08 16:44:49 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2021-11-08 16:44:49 +0700 |
commit | 39a846768e82cd1439bcb165665593c9baae5ffb (patch) | |
tree | 42ae9856612671f01e78f0ef2c271c791776eaac /crypto/src/asn1/BerTaggedObject.cs | |
parent | Change return type of GetExplicitBaseObject (diff) | |
download | BouncyCastle.NET-ed25519-39a846768e82cd1439bcb165665593c9baae5ffb.tar.xz |
More tagged object work from bc-java
Diffstat (limited to 'crypto/src/asn1/BerTaggedObject.cs')
-rw-r--r-- | crypto/src/asn1/BerTaggedObject.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/crypto/src/asn1/BerTaggedObject.cs b/crypto/src/asn1/BerTaggedObject.cs index 164936c6f..4bf27e12f 100644 --- a/crypto/src/asn1/BerTaggedObject.cs +++ b/crypto/src/asn1/BerTaggedObject.cs @@ -47,6 +47,11 @@ namespace Org.BouncyCastle.Asn1 { } + internal override string Asn1Encoding + { + get { return Ber; } + } + internal override bool EncodeConstructed() { throw Platform.CreateNotImplementedException("BerTaggedObject.EncodeConstructed"); @@ -117,5 +122,10 @@ namespace Org.BouncyCastle.Asn1 base.Encode(asn1Out, withID); } } + + internal override Asn1Sequence RebuildConstructed(Asn1Object asn1Object) + { + return new BerSequence(asn1Object); + } } } |