public static enum X509Certificate.KeyUsage extends java.lang.Enum<X509Certificate.KeyUsage>
Enum Constant and Description |
---|
CRL_SIGN
CRL Sign.
|
DATA_ENCIPHERMENT
Data Encipherment.
|
DECIPHER_ONLY
Decipher Only.
|
DIGITAL_SIGNATURE
Digital Signature.
|
ENCIPHER_ONLY
Encipher Only.
|
KEY_AGREEMENT
Key Agreement.
|
KEY_CERT_SIGN
Certificate Sign.
|
KEY_ENCIPHERMENT
Key Encipherment.
|
NON_REPUDIATION
Non Repudiation.
|
Modifier and Type | Method and Description |
---|---|
static X509Certificate.KeyUsage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static X509Certificate.KeyUsage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final X509Certificate.KeyUsage DIGITAL_SIGNATURE
public static final X509Certificate.KeyUsage NON_REPUDIATION
public static final X509Certificate.KeyUsage KEY_ENCIPHERMENT
public static final X509Certificate.KeyUsage DATA_ENCIPHERMENT
public static final X509Certificate.KeyUsage KEY_AGREEMENT
public static final X509Certificate.KeyUsage KEY_CERT_SIGN
public static final X509Certificate.KeyUsage CRL_SIGN
public static final X509Certificate.KeyUsage ENCIPHER_ONLY
public static final X509Certificate.KeyUsage DECIPHER_ONLY
public static X509Certificate.KeyUsage[] values()
for (X509Certificate.KeyUsage c : X509Certificate.KeyUsage.values()) System.out.println(c);
public static X509Certificate.KeyUsage valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright (c) 2014, Oracle and/or its affiliates. All rights reserved.