Specify the intended usage for the keys.
Syntax
[System.Flags]
public enum KeyUsages
Remarks
Members
Member Name | Description |
---|
cRLSign | Private key may be used to sign certificate revocation lists. |
dataEncipherment | Public key can be used to encrypt data. |
decipherOnly | The keys should only be used for decryption purpose. |
digitalSignature | Private key can be used for digital signatures. |
encipherOnly | The keys should only be used to encryption purpose. |
keyAgreement | The keys can be used in a key agreement protocol (like DH). |
keyCertSign | Private key may be used to sign other certificates. |
keyEncipherment | Public key can be used to encrypt other keys. |
none | The key represented in this certificate has no encoded purpose. |
nonRepudiation | Private key can be used for non-repudiation purposes. |
Requirements
Namespace: Mono.Security.X509.Extensions
Assembly: Mono.Security (in Mono.Security.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0