diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-03-07 16:24:01 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-03-07 16:24:01 +0700 |
commit | e78d715bfd0c981d5f11dfae4442491289ad5690 (patch) | |
tree | 58550dec8481292a828d50b41d558602f0ff22ec /crypto/src/pqc/asn1/CmcePublicKey.cs | |
parent | Remove lazy ASN.1 behaviour (diff) | |
download | BouncyCastle.NET-ed25519-e78d715bfd0c981d5f11dfae4442491289ad5690.tar.xz |
Sort DER sets without encoding elements
Diffstat (limited to '')
-rw-r--r-- | crypto/src/pqc/asn1/CmcePublicKey.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/crypto/src/pqc/asn1/CmcePublicKey.cs b/crypto/src/pqc/asn1/CmcePublicKey.cs index e811c0d97..26bd6e438 100644 --- a/crypto/src/pqc/asn1/CmcePublicKey.cs +++ b/crypto/src/pqc/asn1/CmcePublicKey.cs @@ -47,6 +47,16 @@ namespace Org.BouncyCastle.Pqc.Asn1 return ToAsn1Primitive().GetEncodingImplicit(encoding, tagClass, tagNo); } + internal override DerEncoding GetEncodingDer() + { + return ToAsn1Primitive().GetEncodingDer(); + } + + internal override DerEncoding GetEncodingDerImplicit(int tagClass, int tagNo) + { + return ToAsn1Primitive().GetEncodingDerImplicit(tagClass, tagNo); + } + protected override bool Asn1Equals(Asn1Object asn1Object) { return ToAsn1Primitive().CallAsn1Equals(asn1Object); |