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.
X509EnhancedKeyUsageExtension Constructor (OidCollection^, Boolean)
.NET Framework (current version)
Initializes a new instance of the X509EnhancedKeyUsageExtension class using an OidCollection and a value that identifies whether the extension is critical.
Assembly: System (in System.dll)
Parameters
- enhancedKeyUsages
-
Type:
System.Security.Cryptography::OidCollection^
An OidCollection collection.
- critical
-
Type:
System::Boolean
true if the extension is critical; otherwise, false.
| Exception | Condition |
|---|---|
| CryptographicException | The specified OidCollection contains one or more corrupt values. |
.NET Framework
Available since 2.0
Available since 2.0
Show: