Example usage for Java org.bouncycastle.asn1.x509 KeyUsage fields, constructors, methods, implement or subclass
The text is from its open source code.
int | digitalSignature |
int | nonRepudiation |
int | keyEncipherment |
int | dataEncipherment |
int | keyAgreement |
int | keyCertSign |
int | cRLSign |
int | encipherOnly |
int | decipherOnly |
KeyUsage(int usage) Basic constructor. | |
KeyUsage(DERBitString bitString) |
KeyUsage | fromExtensions(Extensions extensions) |
byte[] | getBytes() |
byte[] | getEncoded(String encoding) Return either the default for "BER" or a DER encoding if "DER" is specified. |
byte[] | getEncoded() Return the default BER or DER encoding for this object. |
KeyUsage | getInstance(Object obj) |
boolean | hasUsages(int usages) Return true if a given usage bit is set, false otherwise. |
ASN1Primitive | toASN1Primitive() |
String | toString() |