Create extended (enhanced) key usage extension (2.5.29.37).
Namespace:
Rebex.Security.Certificates
Assembly:
Rebex.Common (in Rebex.Common.dll)
Syntax
Visual Basic |
---|
Public Shared Function EnhancedKeyUsage ( _ critical As Boolean, _ ParamArray usages As String() _ ) As CertificateExtension |
C# |
---|
public static CertificateExtension EnhancedKeyUsage( bool critical, params string[] usages ) |
Parameters
- critical
- Type: System..::..Boolean
Specifies whether this extension is considered critical (not-critical extensions may be ignored by servers that don't support them).
- usages
- Type: array<System..::..String>[]()[][]
Key usage OIDs.