diff options
Diffstat (limited to 'crypto/src/asn1/DerBitString.cs')
-rw-r--r-- | crypto/src/asn1/DerBitString.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/src/asn1/DerBitString.cs b/crypto/src/asn1/DerBitString.cs index 8e3f99fd7..b83f4ebf0 100644 --- a/crypto/src/asn1/DerBitString.cs +++ b/crypto/src/asn1/DerBitString.cs @@ -81,6 +81,11 @@ namespace Org.BouncyCastle.Asn1 return null; } + public static DerBitString GetTagged(Asn1TaggedObject taggedObject, bool declaredExplicit) + { + return (DerBitString)Meta.Instance.GetTagged(taggedObject, declaredExplicit); + } + internal readonly byte[] contents; public DerBitString(byte data, int padBits) |