Package org.opensaml.xmlsec.algorithm
Enum AlgorithmDescriptor.AlgorithmType
- java.lang.Object
-
- java.lang.Enum<AlgorithmDescriptor.AlgorithmType>
-
- org.opensaml.xmlsec.algorithm.AlgorithmDescriptor.AlgorithmType
-
- All Implemented Interfaces:
Serializable,Comparable<AlgorithmDescriptor.AlgorithmType>
- Enclosing interface:
- AlgorithmDescriptor
public static enum AlgorithmDescriptor.AlgorithmType extends Enum<AlgorithmDescriptor.AlgorithmType>
Algorithm descriptor types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BlockEncryptionBlock Encryption.KeyAgreementKey Agreement.KeyTransportKey Transport.MacMessage Authentication Code (MAC).MessageDigestMessage Digest.SignatureSignature.SymmetricKeyWrapSymmetric Key Wrap.
-
Constructor Summary
Constructors Modifier Constructor Description privateAlgorithmType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AlgorithmDescriptor.AlgorithmTypevalueOf(String name)Returns the enum constant of this type with the specified name.static AlgorithmDescriptor.AlgorithmType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BlockEncryption
public static final AlgorithmDescriptor.AlgorithmType BlockEncryption
Block Encryption.
-
Mac
public static final AlgorithmDescriptor.AlgorithmType Mac
Message Authentication Code (MAC).
-
MessageDigest
public static final AlgorithmDescriptor.AlgorithmType MessageDigest
Message Digest.
-
KeyAgreement
public static final AlgorithmDescriptor.AlgorithmType KeyAgreement
Key Agreement.
-
KeyTransport
public static final AlgorithmDescriptor.AlgorithmType KeyTransport
Key Transport.
-
Signature
public static final AlgorithmDescriptor.AlgorithmType Signature
Signature.
-
SymmetricKeyWrap
public static final AlgorithmDescriptor.AlgorithmType SymmetricKeyWrap
Symmetric Key Wrap.
-
-
Method Detail
-
values
public static AlgorithmDescriptor.AlgorithmType[] 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 (AlgorithmDescriptor.AlgorithmType c : AlgorithmDescriptor.AlgorithmType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AlgorithmDescriptor.AlgorithmType 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
-
-