- java.lang.Object
-
- java.lang.Enum<KeyUtils.KeyType>
-
- org.apache.xml.security.utils.KeyUtils.KeyType
-
- All Implemented Interfaces:
Serializable,Comparable<KeyUtils.KeyType>
- Enclosing class:
- KeyUtils
public static enum KeyUtils.KeyType extends Enum<KeyUtils.KeyType>
Enumeration of specific key types.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyUtils.KeyAlgorithmTypegetAlgorithm()static KeyUtils.KeyTypegetByOid(String oid)StringgetName()StringgetOid()StringgetOrigin()static KeyUtils.KeyTypevalueOf(String name)Returns the enum constant of this type with the specified name.static KeyUtils.KeyType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DSA
public static final KeyUtils.KeyType DSA
-
RSA
public static final KeyUtils.KeyType RSA
-
RSASSA_PSS
public static final KeyUtils.KeyType RSASSA_PSS
-
DH
public static final KeyUtils.KeyType DH
-
SECT163K1
public static final KeyUtils.KeyType SECT163K1
-
SECT163R1
public static final KeyUtils.KeyType SECT163R1
-
SECT163R2
public static final KeyUtils.KeyType SECT163R2
-
SECT193R1
public static final KeyUtils.KeyType SECT193R1
-
SECT193R2
public static final KeyUtils.KeyType SECT193R2
-
SECT233K1
public static final KeyUtils.KeyType SECT233K1
-
SECT233R1
public static final KeyUtils.KeyType SECT233R1
-
SECT239K1
public static final KeyUtils.KeyType SECT239K1
-
SECT283K1
public static final KeyUtils.KeyType SECT283K1
-
SECT283R1
public static final KeyUtils.KeyType SECT283R1
-
SECT409K1
public static final KeyUtils.KeyType SECT409K1
-
SECT409R1
public static final KeyUtils.KeyType SECT409R1
-
SECT571K1
public static final KeyUtils.KeyType SECT571K1
-
SECT571R1
public static final KeyUtils.KeyType SECT571R1
-
SECP160K1
public static final KeyUtils.KeyType SECP160K1
-
SECP160R1
public static final KeyUtils.KeyType SECP160R1
-
SECP160R2
public static final KeyUtils.KeyType SECP160R2
-
SECP192K1
public static final KeyUtils.KeyType SECP192K1
-
SECP192R1
public static final KeyUtils.KeyType SECP192R1
-
SECP224K1
public static final KeyUtils.KeyType SECP224K1
-
SECP224R1
public static final KeyUtils.KeyType SECP224R1
-
SECP256K1
public static final KeyUtils.KeyType SECP256K1
-
SECP256R1
public static final KeyUtils.KeyType SECP256R1
-
SECP384R1
public static final KeyUtils.KeyType SECP384R1
-
SECP521R1
public static final KeyUtils.KeyType SECP521R1
-
BRAINPOOLP256R1
public static final KeyUtils.KeyType BRAINPOOLP256R1
-
BRAINPOOLP384R1
public static final KeyUtils.KeyType BRAINPOOLP384R1
-
BRAINPOOLP512R1
public static final KeyUtils.KeyType BRAINPOOLP512R1
-
X25519
public static final KeyUtils.KeyType X25519
-
X448
public static final KeyUtils.KeyType X448
-
ED25519
public static final KeyUtils.KeyType ED25519
-
ED448
public static final KeyUtils.KeyType ED448
-
-
Method Detail
-
values
public static KeyUtils.KeyType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (KeyUtils.KeyType c : KeyUtils.KeyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KeyUtils.KeyType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getName
public String getName()
-
getAlgorithm
public KeyUtils.KeyAlgorithmType getAlgorithm()
-
getOid
public String getOid()
-
getOrigin
public String getOrigin()
-
getByOid
public static KeyUtils.KeyType getByOid(String oid)
-
-