Click or drag to resize

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
)

Parameters

rawData
Type: SystemByte
ASN.1-encoded byte array that represents full extension information.

Return Value

Type: X509Extension
Decoded extension object.
Exceptions
ExceptionCondition
ArgumentNullExceptionrawData parameter is null.
Asn1InvalidTagExceptionDecoder encountered an unexpected ASN.1 type identifier.
See Also