X509ExtensionExtensionsDecode Method |
Decodes ASN.1-encoded byte array to an instance of X509Extension class.
Namespace:
SysadminsLV.PKI.Utils.CLRExtensions
Assembly:
SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax public static X509Extension Decode(
byte[] rawData
)
Public Shared Function Decode (
rawData As Byte()
) As X509Extension
public:
static X509Extension^ Decode(
array<unsigned char>^ rawData
)
static member Decode :
rawData : byte[] -> X509Extension
Parameters
- rawData
- Type: SystemByte
ASN.1-encoded byte array that represents full extension information.
Return Value
Type:
X509ExtensionDecoded extension object.
Exceptions Exception | Condition |
---|
ArgumentNullException | rawData parameter is null. |
Asn1InvalidTagException | Decoder encountered an unexpected ASN.1 type identifier. |
See Also