Module org.apache.santuario.xmlsec
Package org.apache.xml.security.utils
Enum KeyUtils.KeyAlgorithmType
- java.lang.Object
-
- java.lang.Enum<KeyUtils.KeyAlgorithmType>
-
- org.apache.xml.security.utils.KeyUtils.KeyAlgorithmType
-
- All Implemented Interfaces:
Serializable,Comparable<KeyUtils.KeyAlgorithmType>
- Enclosing class:
- KeyUtils
public static enum KeyUtils.KeyAlgorithmType extends Enum<KeyUtils.KeyAlgorithmType>
Enumeration of Supported key algorithm types.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetJceName()StringgetOid()static KeyUtils.KeyAlgorithmTypevalueOf(String name)Returns the enum constant of this type with the specified name.static KeyUtils.KeyAlgorithmType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EC
public static final KeyUtils.KeyAlgorithmType EC
-
DSA
public static final KeyUtils.KeyAlgorithmType DSA
-
RSA
public static final KeyUtils.KeyAlgorithmType RSA
-
RSASSA_PSS
public static final KeyUtils.KeyAlgorithmType RSASSA_PSS
-
DH
public static final KeyUtils.KeyAlgorithmType DH
-
XDH
public static final KeyUtils.KeyAlgorithmType XDH
-
EdDSA
public static final KeyUtils.KeyAlgorithmType EdDSA
-
-
Method Detail
-
values
public static KeyUtils.KeyAlgorithmType[] 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.KeyAlgorithmType c : KeyUtils.KeyAlgorithmType.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.KeyAlgorithmType 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
-
getJceName
public String getJceName()
-
getOid
public String getOid()
-
-