Creates a key usage extension (2.5.29.15).
Namespace:
Rebex.Security.Certificates
Assembly:
Rebex.Common (in Rebex.Common.dll)
Syntax
Visual Basic |
---|
Public Shared Function KeyUsage ( _ usage As KeyUses _ ) As CertificateExtension |
C# |
---|
public static CertificateExtension KeyUsage( KeyUses usage ) |
Parameters
- usage
- Type: Rebex.Security.Certificates..::..KeyUses
Key usage flags.