Package org.forgerock.am.iot
Enum IotRegistrationNode.JwtRegistrationMethod
- java.lang.Object
-
- java.lang.Enum<IotRegistrationNode.JwtRegistrationMethod>
-
- org.forgerock.am.iot.IotRegistrationNode.JwtRegistrationMethod
-
- All Implemented Interfaces:
Serializable
,Comparable<IotRegistrationNode.JwtRegistrationMethod>
- Enclosing class:
- IotRegistrationNode
public static enum IotRegistrationNode.JwtRegistrationMethod extends Enum<IotRegistrationNode.JwtRegistrationMethod>
The JWT registration method used to verify the JWT presented for registration.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description POP_WITH_CERTIFICATE
Register using a Proof of Possession JWT that includes an X.509 certificate for providing trust.POP_WITH_SOFTWARE_STATEMENT
Register using a Proof of Possession JWT and a Software Statement for providing trust.POP_WITHOUT_TRUST
Register using a Proof of Possession JWT without using a trusted third party.SOFTWARE_STATEMENT_WITHOUT_POP
Register using a Software Statement without doing proof of possession.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IotRegistrationNode.JwtRegistrationMethod
valueOf(String name)
Returns the enum constant of this type with the specified name.static IotRegistrationNode.JwtRegistrationMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
POP_WITH_CERTIFICATE
public static final IotRegistrationNode.JwtRegistrationMethod POP_WITH_CERTIFICATE
Register using a Proof of Possession JWT that includes an X.509 certificate for providing trust. A challenge nonce will be presented in the callback that must be included in the signed JWT.
-
POP_WITH_SOFTWARE_STATEMENT
public static final IotRegistrationNode.JwtRegistrationMethod POP_WITH_SOFTWARE_STATEMENT
Register using a Proof of Possession JWT and a Software Statement for providing trust. A challenge nonce will be presented in the callback that must be included in the signed Proof of Possession JWT. The claims in the Software Statement will take precedence over the claims in the Proof of Possession JWT.
-
POP_WITHOUT_TRUST
public static final IotRegistrationNode.JwtRegistrationMethod POP_WITHOUT_TRUST
Register using a Proof of Possession JWT without using a trusted third party. A challenge nonce will be presented in the callback that must be included in the signed JWT.
-
SOFTWARE_STATEMENT_WITHOUT_POP
public static final IotRegistrationNode.JwtRegistrationMethod SOFTWARE_STATEMENT_WITHOUT_POP
Register using a Software Statement without doing proof of possession. If this registration method is chosen then the resultant session token will not include a proof of possession restriction.
-
-
Method Detail
-
values
public static IotRegistrationNode.JwtRegistrationMethod[] 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 (IotRegistrationNode.JwtRegistrationMethod c : IotRegistrationNode.JwtRegistrationMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IotRegistrationNode.JwtRegistrationMethod 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
-
-