Package org.opensaml.saml.security
Enum SAMLMetadataKeyAgreementEncryptionConfiguration.KeyWrap
java.lang.Object
java.lang.Enum<SAMLMetadataKeyAgreementEncryptionConfiguration.KeyWrap>
org.opensaml.saml.security.SAMLMetadataKeyAgreementEncryptionConfiguration.KeyWrap
- All Implemented Interfaces:
Serializable
,Comparable<SAMLMetadataKeyAgreementEncryptionConfiguration.KeyWrap>
- 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.
-
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 ofEncryptionMethod
elements in the associatedKeyDescriptor
containing symmetric key wrap algorithms.Use key wrap if no indication is given viaEncryptionMethod
elements within the associatedKeyDescriptor
element.Never use key wrap for metadata credentials. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, 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 viaEncryptionMethod
elements within the associatedKeyDescriptor
element. See alsoDefault
. -
Default
Default behavior, which is to enable key wrap or not based on the presence or absence respectively ofEncryptionMethod
elements in the associatedKeyDescriptor
containing 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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-