Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft