Package org.opensaml.saml.security
Enum Class SAMLMetadataKeyAgreementEncryptionConfiguration.KeyWrap
java.lang.Object
java.lang.Enum<SAMLMetadataKeyAgreementEncryptionConfiguration.KeyWrap>
org.opensaml.saml.security.SAMLMetadataKeyAgreementEncryptionConfiguration.KeyWrap
- All Implemented Interfaces:
Serializable,Comparable<SAMLMetadataKeyAgreementEncryptionConfiguration.KeyWrap>,Constable
- Enclosing class:
- SAMLMetadataKeyAgreementEncryptionConfiguration
public static enum SAMLMetadataKeyAgreementEncryptionConfiguration.KeyWrap
extends Enum<SAMLMetadataKeyAgreementEncryptionConfiguration.KeyWrap>
Options for whether to use symmetric key wrap with credentials from SAML metadata.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAlways use key wrap for metadata credentials.Default behavior, which is to enable key wrap or not based on the presence or absence respectively ofEncryptionMethodelements in the associatedKeyDescriptorcontaining symmetric key wrap algorithms.Use key wrap if no indication is given viaEncryptionMethodelements within the associatedKeyDescriptorelement.Never use key wrap for metadata credentials. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Always
Always use key wrap for metadata credentials. -
Never
Never use key wrap for metadata credentials. -
IfNotIndicated
Use key wrap if no indication is given viaEncryptionMethodelements within the associatedKeyDescriptorelement. See alsoDefault. -
Default
Default behavior, which is to enable key wrap or not based on the presence or absence respectively ofEncryptionMethodelements in the associatedKeyDescriptorcontaining symmetric key wrap algorithms. The presence of any symmetric key wrap algorithms (after runtime support and include/exclude filtering) will enable key wrap. Otherwise, key wrap will be disabled.
-
-
Constructor Details
-
KeyWrap
private KeyWrap()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-