public enum KeyUsage extends Enum<KeyUsage>
| Enum Constant and Description |
|---|
CRL_SIGN
"CRL Sign" key usage value
|
DATA_ENCIPHERMENT
"Data Encipherment" key usage value
|
DECIPHER_ONLY
"Decipher Only" key usage value
|
DIGITAL_SIGNATURE
"Digital Signature" key usage value
|
ENCIPHER_ONLY
"Encipher Only" key usage value
|
KEY_AGREEMENT
"Key Agreement" key usage value
|
KEY_CERT_SIGN
"Key Cert Sign" key usage value
|
KEY_ENCIPHERMENT
"Key Encipherment" key usage value
|
NON_REPUDIATION
"Non Repudiation" key usage value
|
| Modifier and Type | Method and Description |
|---|---|
static KeyUsage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyUsage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyUsage DIGITAL_SIGNATURE
public static final KeyUsage NON_REPUDIATION
public static final KeyUsage KEY_ENCIPHERMENT
public static final KeyUsage DATA_ENCIPHERMENT
public static final KeyUsage KEY_AGREEMENT
public static final KeyUsage KEY_CERT_SIGN
public static final KeyUsage CRL_SIGN
public static final KeyUsage ENCIPHER_ONLY
public static final KeyUsage DECIPHER_ONLY
public static KeyUsage[] values()
for (KeyUsage c : KeyUsage.values()) System.out.println(c);
public static 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 © 1998–2025 Apryse Group NV. All rights reserved.