Asn1StringDecodeAnyString Method
Decodes any ASN.1-encoded binary string into ASN.1 string type instance.
Namespace: SysadminsLV.Asn1Parser.UniversalAssembly: SysadminsLV.Asn1Parser (in SysadminsLV.Asn1Parser.dll) Version: 1.2.11
public static Asn1String DecodeAnyString(
byte[] rawData,
IEnumerable<Asn1Type> allowedStringTypes = null
)
Public Shared Function DecodeAnyString (
rawData As Byte(),
Optional allowedStringTypes As IEnumerable(Of Asn1Type) = Nothing
) As Asn1String
public:
static Asn1String^ DecodeAnyString(
array<unsigned char>^ rawData,
IEnumerable<Asn1Type>^ allowedStringTypes = nullptr
)
static member DecodeAnyString :
rawData : byte[] *
?allowedStringTypes : IEnumerable<Asn1Type>
(* Defaults:
let _allowedStringTypes = defaultArg allowedStringTypes null
*)
-> Asn1String
- rawData Byte
- Encoded ASN.1 string.
- allowedStringTypes IEnumerableAsn1Type (Optional)
- An optional collection of allowed string allowedStringTypes.
Asn1StringASN.1 string type instance.