Click or drag to resize
weroSoft AG, Software
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
public enum CertificateUsage
This enumeration defines the values for certificate usages along the RFS 5280 as defined in section " Key Usage". The definition in the RFS is as follows:

The OID for -eku parameter are: 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
  Member nameValueDescription
None0 There is no key usage defined or the defined usage is explicitly none.
EncipherOnly1 Encipherer only.
CrlSign2 Verifying a certificate revocation list.
KeyCertSign4 Key certificate signing.
KeyAgreement8 Key agreement.
DataEncipherment16 Data encipherment.
KeyEncipherment32 Key encipherment.
NonRepudiation64 Non repudiation (also content commitment).
DigitalSignature128 Digital signature usage.
DecipherOnly32768 Decipherer only.
See Also