X509ExtensionExtensionsDecode(Byte) Method

Decodes ASN.1-encoded byte array to an instance of X509Extension class.

Definition

Namespace: SysadminsLV.PKI.Cryptography.X509Certificates
Assembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
C#
public static X509Extension Decode(
	byte[] rawData
)

Parameters

rawData  Byte
ASN.1-encoded byte array that represents full extension information.

Return Value

X509Extension
Decoded extension object.

Exceptions

ArgumentNullExceptionrawData parameter is null.
Asn1InvalidTagExceptionDecoder encountered an unexpected ASN.1 type identifier.

See Also