From e78d715bfd0c981d5f11dfae4442491289ad5690 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Tue, 7 Mar 2023 16:24:01 +0700 Subject: Sort DER sets without encoding elements --- crypto/src/asn1/DerVideotexString.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'crypto/src/asn1/DerVideotexString.cs') diff --git a/crypto/src/asn1/DerVideotexString.cs b/crypto/src/asn1/DerVideotexString.cs index 636af0499..5019a6668 100644 --- a/crypto/src/asn1/DerVideotexString.cs +++ b/crypto/src/asn1/DerVideotexString.cs @@ -104,6 +104,16 @@ namespace Org.BouncyCastle.Asn1 return new PrimitiveEncoding(tagClass, tagNo, m_contents); } + internal sealed override DerEncoding GetEncodingDer() + { + return new PrimitiveDerEncoding(Asn1Tags.Universal, Asn1Tags.VideotexString, m_contents); + } + + internal sealed override DerEncoding GetEncodingDerImplicit(int tagClass, int tagNo) + { + return new PrimitiveDerEncoding(tagClass, tagNo, m_contents); + } + protected override bool Asn1Equals(Asn1Object asn1Object) { DerVideotexString that = asn1Object as DerVideotexString; -- cgit 1.4.1