public static enum OathToken.TokenCapability extends Enum<OathToken.TokenCapability>
Enum Constant and Description |
---|
DUAL_SEED
Token Computes OTPs from one of two selectable keys in the token (SDK
acts as a client).
|
OTP
Token computes OTPs as a client.
|
Modifier and Type | Method and Description |
---|---|
static OathToken.TokenCapability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OathToken.TokenCapability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OathToken.TokenCapability OTP
public static final OathToken.TokenCapability DUAL_SEED
Warning! Do not use this capability on arbitrary provisioning requests. When creating a token with this capability, the registration code (RC) used for the provisioning request on the Enrolment Provisioning Server (EPS) must be associated with a dual seed enrolment request.
The following constraints apply:
MobileProvisioningProtocol.PROVISIONING_PROTOCOL_V3
public static OathToken.TokenCapability[] values()
for (OathToken.TokenCapability c : OathToken.TokenCapability.values()) System.out.println(c);
public static OathToken.TokenCapability valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null