com.mindbright.security.x509
public class KeyUsage extends ASN1BitString
KeyUsage ::= BIT STRING { digitalSignature(0), nonRepudiation(1), keyEncipherment(2), dataEncipherment(3), keyAgreement(4), keyCertSign(5), cRLSign(6), encipherOnly(7), decipherOnly(8) }
Modifier and Type | Field and Description |
---|---|
static int |
CRLSign |
static int |
DataEncipherment |
static int |
DecipherOnly |
static int |
DigitalSignature |
static int |
EncipherOnly |
static int |
KeyAgreement |
static int |
KeyCertSign |
static int |
KeyEncipherment |
static int |
NonRepudiation |
value
isSet, tag
Constructor and Description |
---|
KeyUsage() |
Modifier and Type | Method and Description |
---|---|
boolean |
getField(int i) |
java.lang.String |
getValue() |
java.lang.String |
toString() |
getBitArray, getBitCount, getBooleanArray, setBitArray, setBooleanArray, toPrintableString
decodeValue, encodeValue, getRaw, setRaw
decodeValue, getTag, getType, isSet, setValue
public static final int DigitalSignature
public static final int NonRepudiation
public static final int KeyEncipherment
public static final int DataEncipherment
public static final int KeyAgreement
public static final int KeyCertSign
public static final int CRLSign
public static final int EncipherOnly
public static final int DecipherOnly
public boolean getField(int i)
public java.lang.String toString()
toString
in class ASN1Object
public java.lang.String getValue()