CertificateExtension.EnhancedKeyUsage Method
Namespace: Rebex.Security.Certificates
Assembly: Rebex.Common.dll (version 7.0.9083)
EnhancedKeyUsage(Boolean, String[])
Create extended (enhanced) key usage extension (2.5.29.37).
Declaration
public static CertificateExtension EnhancedKeyUsage(bool critical, params string[] usages)
Parameters
Type | Name | Description |
---|---|---|
Boolean | critical | Specifies whether this extension is considered critical (not-critical extensions may be ignored by servers that don't support them). |
String[] | usages | Key usage OIDs. |
Returns
Type | Description |
---|---|
CertificateExtension | An extension object. |