public enum PowerAuthConfiguration extends Enum<PowerAuthConfiguration>
| Enum Constant and Description |
|---|
INSTANCE
Singleton instance
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVATION_GENERATE_ACTIVATION_ID_ITERATIONS
When a duplicate activation ID is encountered during the activation, how
many times generate a new one.
|
static int |
ACTIVATION_GENERATE_ACTIVATION_SHORT_ID_ITERATIONS
When a duplicate activation short ID is encountered during the
activation, how many times generate a new one.
|
static int |
ACTIVATION_VALIDITY_BEFORE_ACTIVE
How many milliseconds should be CREATED or OTP_USED record usable for
completing the activation.
|
static int |
FINGERPRINT_LENGTH
Length of device public key fingerprint.
|
static int |
PBKDF_ITERATIONS
How many iterations should be used for PBKDF2 key derivation.
|
static int |
SIGNATURE_LENGTH
Signature length (number of decimal numbers representing signature)
|
static long |
SIGNATURE_MAX_FAILED_ATTEMPTS
How many failed signatures cause activation record blocking
|
static long |
SIGNATURE_VALIDATION_LOOKAHEAD
When validating the signature, how many iterations ahead too look
|
| Modifier and Type | Method and Description |
|---|---|
CryptoProviderUtil |
getKeyConvertor()
Get key convertor instance.
|
void |
setKeyConvertor(CryptoProviderUtil keyConvertor)
Set key convertor instance.
|
static PowerAuthConfiguration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PowerAuthConfiguration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PowerAuthConfiguration INSTANCE
public static final int PBKDF_ITERATIONS
public static final int ACTIVATION_GENERATE_ACTIVATION_ID_ITERATIONS
public static final int ACTIVATION_GENERATE_ACTIVATION_SHORT_ID_ITERATIONS
public static final int ACTIVATION_VALIDITY_BEFORE_ACTIVE
public static final int FINGERPRINT_LENGTH
public static final int SIGNATURE_LENGTH
public static final long SIGNATURE_MAX_FAILED_ATTEMPTS
public static final long SIGNATURE_VALIDATION_LOOKAHEAD
public static PowerAuthConfiguration[] values()
for (PowerAuthConfiguration c : PowerAuthConfiguration.values()) System.out.println(c);
public static PowerAuthConfiguration 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 nullpublic void setKeyConvertor(CryptoProviderUtil keyConvertor)
keyConvertor - Key convertor instancepublic CryptoProviderUtil getKeyConvertor()
Copyright © 2016 Lime - HighTech Solutions Inc.. All rights reserved.