com.mindbright.security.x509
Class KeyUsage
java.lang.Object
com.mindbright.asn1.ASN1Object
com.mindbright.asn1.ASN1String
com.mindbright.asn1.ASN1BitString
com.mindbright.security.x509.KeyUsage
- 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)
}
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DigitalSignature
public static final int DigitalSignature
- See Also:
- Constant Field Values
NonRepudiation
public static final int NonRepudiation
- See Also:
- Constant Field Values
KeyEncipherment
public static final int KeyEncipherment
- See Also:
- Constant Field Values
DataEncipherment
public static final int DataEncipherment
- See Also:
- Constant Field Values
KeyAgreement
public static final int KeyAgreement
- See Also:
- Constant Field Values
KeyCertSign
public static final int KeyCertSign
- See Also:
- Constant Field Values
CRLSign
public static final int CRLSign
- See Also:
- Constant Field Values
EncipherOnly
public static final int EncipherOnly
- See Also:
- Constant Field Values
DecipherOnly
public static final int DecipherOnly
- See Also:
- Constant Field Values
KeyUsage
public KeyUsage()
getField
public boolean getField(int i)
toString
public java.lang.String toString()
getValue
public java.lang.String getValue()