X509AttributeDecode Method |
Decodes ASN.1-encoded attribute (with envelope) to an instance of X509Attribute class.
Namespace:
System.Security.Cryptography
Assembly:
SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax public static X509Attribute Decode(
byte[] rawData
)
Public Shared Function Decode (
rawData As Byte()
) As X509Attribute
public:
static X509Attribute^ Decode(
array<unsigned char>^ rawData
)
static member Decode :
rawData : byte[] -> X509Attribute
Parameters
- rawData
- Type: SystemByte
ASN.1-encoded attribute full data.
Return Value
Type:
X509AttributeInstance of
X509Attribute class
Exceptions Exception | Condition |
---|
ArgumentNullException | rawData parameter is null. |
Asn1InvalidTagException | Invalid tag identifier occured. |
See Also