Class KeyUsage
- Namespace
- Enterprises.Org.BouncyCastle.Asn1.X509
- Assembly
- Enterprises.BouncyCastle.Crypto.dll
public class KeyUsage : DerBitString, IAsn1Convertible, IAsn1String
- Inheritance
-
KeyUsage
- Implements
-
- Inherited Members
-
Constructors
KeyUsage(int)
public KeyUsage(int usage)
Parameters
usage
int
Fields
CrlSign
public const int CrlSign = 2
Field Value
- int
DataEncipherment
public const int DataEncipherment = 16
Field Value
- int
DecipherOnly
public const int DecipherOnly = 32768
Field Value
- int
DigitalSignature
public const int DigitalSignature = 128
Field Value
- int
EncipherOnly
public const int EncipherOnly = 1
Field Value
- int
KeyAgreement
public const int KeyAgreement = 8
Field Value
- int
KeyCertSign
public const int KeyCertSign = 4
Field Value
- int
KeyEncipherment
public const int KeyEncipherment = 32
Field Value
- int
NonRepudiation
public const int NonRepudiation = 64
Field Value
- int
Methods
GetInstance(object)
public static KeyUsage GetInstance(object obj)
Parameters
obj
object
Returns
- KeyUsage
ToString()
public override string ToString()
Returns
- string