X509KeyUsageOptions Enumeration |
Options for key usage in certificate
Namespace: CryptoSysPKIAssembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.25611 (23.0.0.0)
Syntax[FlagsAttribute]
public enum KeyUsageOptions
<FlagsAttribute>
Public Enumeration KeyUsageOptions
Members| Member name | Description |
|---|
| None |
Key usage extension is not included.
|
| DigitalSignature |
subject public key is used for verifying digital signatures.
|
| NonRepudiation |
subject public key is used to verify digital signatures used to provide a non-repudiation service.
|
| KeyEncipherment |
subject public key is used for enciphering private or secret keys, i.e., for key transport.
|
| DataEncipherment |
subject public key is used for directly enciphering raw user data (uncommon).
|
| KeyAgreement |
subject public key is used for key agreement.
|
| KeyCertSign |
subject public key is used for verifying signatures on public key certificates.
|
| CrlSign |
subject public key is used for verifying signatures on certificate revocation lists.
|
| EncipherOnly |
subject public key may be used only for enciphering data while performing key agreement (only if keyAgreement bit is also set).
|
| DecipherOnly |
subject public key may be used only for deciphering data while performing key agreement (only if keyAgreement bit is also set).
|
RemarksReference: [
RFC5280] s4.2.1.3 Key Usage
See Also