Enum OIDCClientInformationEncryptionParametersResolver.ParameterType
- java.lang.Object
-
- java.lang.Enum<OIDCClientInformationEncryptionParametersResolver.ParameterType>
-
- net.shibboleth.idp.plugin.oidc.op.security.impl.OIDCClientInformationEncryptionParametersResolver.ParameterType
-
- All Implemented Interfaces:
Serializable,Comparable<OIDCClientInformationEncryptionParametersResolver.ParameterType>
- Enclosing class:
- OIDCClientInformationEncryptionParametersResolver
public static enum OIDCClientInformationEncryptionParametersResolver.ParameterType extends Enum<OIDCClientInformationEncryptionParametersResolver.ParameterType>
Whether to create parameters for request object decryption, id token encryption or userinfo response encryption.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IDTOKEN_ENCRYPTIONType for id_token encryption.REQUEST_OBJECT_DECRYPTIONType for request object decryption.USERINFO_ENCRYPTIONType for user info encryption.
-
Constructor Summary
Constructors Modifier Constructor Description privateParameterType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OIDCClientInformationEncryptionParametersResolver.ParameterTypevalueOf(String name)Returns the enum constant of this type with the specified name.static OIDCClientInformationEncryptionParametersResolver.ParameterType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REQUEST_OBJECT_DECRYPTION
public static final OIDCClientInformationEncryptionParametersResolver.ParameterType REQUEST_OBJECT_DECRYPTION
Type for request object decryption.
-
IDTOKEN_ENCRYPTION
public static final OIDCClientInformationEncryptionParametersResolver.ParameterType IDTOKEN_ENCRYPTION
Type for id_token encryption.
-
USERINFO_ENCRYPTION
public static final OIDCClientInformationEncryptionParametersResolver.ParameterType USERINFO_ENCRYPTION
Type for user info encryption.
-
-
Method Detail
-
values
public static OIDCClientInformationEncryptionParametersResolver.ParameterType[] 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 (OIDCClientInformationEncryptionParametersResolver.ParameterType c : OIDCClientInformationEncryptionParametersResolver.ParameterType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OIDCClientInformationEncryptionParametersResolver.ParameterType 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
-
-