 |
CertificateUsage Enumeration |
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Defines the possible certificate usages.
Namespace:
WeroSoft.Security
Assembly:
WeroSoft.Core.Library (in WeroSoft.Core.Library.dll) Version: 2.5
Syntax[FlagsAttribute]
public enum CertificateUsage
Remarks
This enumeration defines the values for certificate usages along the RFS 5280 as defined in section
"4.2.1.3. Key Usage". The definition in the RFS is as follows:
The OID for -eku parameter are: 1.3.6.1.5.5.7.3.x where x see below
- digitalSignature = 0
- nonRepudiation = 1 -->> recent editions of X.509 have renamed this bit to contentCommitment
- keyEncipherment = 2
- dataEncipherment = 3
- keyAgreement = 4
- keyCertSign = 5
- cRLSign = 6
- encipherOnly = 7
- decipherOnly = 8
For more information see also https://tools.ietf.org/html/rfc5280.
Members
| Member name | Value | Description |
---|
| None | 0 |
There is no key usage defined or the defined usage is explicitly none.
|
| EncipherOnly | 1 |
Encipherer only.
|
| CrlSign | 2 |
Verifying a certificate revocation list.
|
| KeyCertSign | 4 |
Key certificate signing.
|
| KeyAgreement | 8 |
Key agreement.
|
| DataEncipherment | 16 |
Data encipherment.
|
| KeyEncipherment | 32 |
Key encipherment.
|
| NonRepudiation | 64 |
Non repudiation (also content commitment).
|
| DigitalSignature | 128 |
Digital signature usage.
|
| DecipherOnly | 32768 |
Decipherer only.
|
See Also