Click or drag to resize

Crypt32ManagedDecodeX509Extension Method

Note: This API is now obsolete.

Decodes an ASN.1-encoded byte array that represents complete X509Extension object to an instance of X509Extension instance.

Namespace:  PKI.ManagedAPI
Assembly:  PKI.Core (in PKI.Core.dll) Version: 3.3.0.0 (3.3.0.0)
Syntax
[ObsoleteAttribute("Use X509ExtensionExtensions.Decode static method instead.", 
	true)]
public static X509Extension DecodeX509Extension(
	byte[] rawData
)

Parameters

rawData
Type: SystemByte
ASN.1-encoded byte array that represents requested object.

Return Value

Type: X509Extension
Decoded X509Extension object.
Exceptions
ExceptionCondition
ArgumentNullExceptionrawData parameter is null reference.
Asn1InvalidTagExceptionByte array do not represent requested object.
See Also