X509EnhancedKeyUsageExtension Constructor (AsnEncodedData, Boolean)


Initializes a new instance of the X509EnhancedKeyUsageExtension 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 X509EnhancedKeyUsageExtension(
	AsnEncodedData encodedEnhancedKeyUsages,
	bool critical


Type: System.Security.Cryptography.AsnEncodedData

The encoded data to use to create the extension.

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