X509KeyUsageExtension Constructor (AsnEncodedData^, Boolean)

 

Initializes a new instance of the X509KeyUsageExtension class using an AsnEncodedData object and a value that identifies whether the extension is critical.

Namespace:   System.Security.Cryptography.X509Certificates
Assembly:  System (in System.dll)

public:
X509KeyUsageExtension(
	AsnEncodedData^ encodedKeyUsage,
	bool critical
)

Parameters

encodedKeyUsage
Type: System.Security.Cryptography::AsnEncodedData^

The encoded data to use to create the extension.

critical
Type: System::Boolean

true if the extension is critical; otherwise, false.

Use this constructor if the information to create the extension is already in an AsnEncodedData object.

.NET Framework
Available since 2.0
Return to top
Show: