diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2024-06-21 17:21:34 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2024-06-21 17:21:34 +0700 |
commit | a3f7b8ba1349d1e518661aa2723e64f595dfb3df (patch) | |
tree | 4136daa6b201fb432b0028168039279600ce8ea7 /crypto/src/asn1/DerVideotexString.cs | |
parent | Refactoring in Asn1.Misc (diff) | |
download | BouncyCastle.NET-ed25519-a3f7b8ba1349d1e518661aa2723e64f595dfb3df.tar.xz |
ASN.1: GetTagged method for all universal types
Diffstat (limited to 'crypto/src/asn1/DerVideotexString.cs')
-rw-r--r-- | crypto/src/asn1/DerVideotexString.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/src/asn1/DerVideotexString.cs b/crypto/src/asn1/DerVideotexString.cs index 086fdbe94..5ace0cb17 100644 --- a/crypto/src/asn1/DerVideotexString.cs +++ b/crypto/src/asn1/DerVideotexString.cs @@ -85,6 +85,11 @@ namespace Org.BouncyCastle.Asn1 return null; } + public static DerVideotexString GetTagged(Asn1TaggedObject taggedObject, bool declaredExplicit) + { + return (DerVideotexString)Meta.Instance.GetTagged(taggedObject, declaredExplicit); + } + private readonly byte[] m_contents; public DerVideotexString(byte[] contents) |