gnu.crypto.pki.ext
Class KeyUsage
java.lang.Object
gnu.crypto.pki.ext.Extension.Value
gnu.crypto.pki.ext.KeyUsage
public class KeyUsage
- extends Extension.Value
Constructor Summary |
KeyUsage(byte[] encoded)
|
ID
public static final OID ID
DIGITAL_SIGNATURE
public static final int DIGITAL_SIGNATURE
- See Also:
- Constant Field Values
NON_REPUDIATION
public static final int NON_REPUDIATION
- See Also:
- Constant Field Values
KEY_ENCIPHERMENT
public static final int KEY_ENCIPHERMENT
- See Also:
- Constant Field Values
DATA_ENCIPHERMENT
public static final int DATA_ENCIPHERMENT
- See Also:
- Constant Field Values
KEY_AGREEMENT
public static final int KEY_AGREEMENT
- See Also:
- Constant Field Values
KEY_CERT_SIGN
public static final int KEY_CERT_SIGN
- See Also:
- Constant Field Values
CRL_SIGN
public static final int CRL_SIGN
- See Also:
- Constant Field Values
ENCIPHER_ONLY
public static final int ENCIPHER_ONLY
- See Also:
- Constant Field Values
DECIPHER_ONLY
public static final int DECIPHER_ONLY
- See Also:
- Constant Field Values
KeyUsage
public KeyUsage(byte[] encoded)
throws IOException
- Throws:
IOException
getKeyUsage
public BitString getKeyUsage()
toString
public String toString()
- Overrides:
toString
in class Extension.Value
Copyright © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.