X509KeyUsageExtension Constructor (X509KeyUsageFlags, Boolean)

 

Initializes a new instance of the X509KeyUsageExtension class using the specified X509KeyUsageFlags value and a value that identifies whether the extension is critical.

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

public:
X509KeyUsageExtension(
	X509KeyUsageFlags keyUsages,
	bool critical
)

Parameters

keyUsages
Type: System.Security.Cryptography.X509Certificates::X509KeyUsageFlags

One of the X509KeyUsageFlags values that describes how to use the key.

critical
Type: System::Boolean

true if the extension is critical; otherwise, false.

.NET Framework
Available since 2.0
Return to top
Show: