public static enum X509Cert.KeyUsage extends Enum<X509Cert.KeyUsage>
Enum Constant and Description |
---|
CRL_SIGN |
DATA_ENCIPHERMENT |
DECIPHER_ONLY |
DIGITAL_SIGNATURE |
ENCIPHER_ONLY |
KEY_AGREEMENT |
KEY_CERTIFICATESIGN |
KEY_ENCIPHERMENT |
NON_REPUDIATION
Used for signing certificate selection in the current library
|
Modifier and Type | Method and Description |
---|---|
static X509Cert.KeyUsage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static X509Cert.KeyUsage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final X509Cert.KeyUsage DIGITAL_SIGNATURE
public static final X509Cert.KeyUsage NON_REPUDIATION
public static final X509Cert.KeyUsage KEY_ENCIPHERMENT
public static final X509Cert.KeyUsage DATA_ENCIPHERMENT
public static final X509Cert.KeyUsage KEY_AGREEMENT
public static final X509Cert.KeyUsage KEY_CERTIFICATESIGN
public static final X509Cert.KeyUsage CRL_SIGN
public static final X509Cert.KeyUsage ENCIPHER_ONLY
public static final X509Cert.KeyUsage DECIPHER_ONLY
public static X509Cert.KeyUsage[] values()
for (X509Cert.KeyUsage c : X509Cert.KeyUsage.values()) System.out.println(c);
public static X509Cert.KeyUsage valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2023. All rights reserved.