Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ACTIVATION_LAYER_2 - Enum constant in enum class io.getlime.security.powerauth.crypto.lib.encryptor.model.EncryptorId
-
Activation layer 2 encryption.
- ACTIVATION_SCOPE - Enum constant in enum class io.getlime.security.powerauth.crypto.lib.encryptor.model.EncryptorScope
-
Activation scope (personalized).
- ACTIVATION_SCOPE_GENERIC - Enum constant in enum class io.getlime.security.powerauth.crypto.lib.encryptor.model.EncryptorId
-
Generic activation encryption.
- ACTIVATION_STATUS_MAGIC_VALUE - Static variable in class io.getlime.security.powerauth.crypto.lib.model.ActivationStatusBlobInfo
-
Activation status magic value.
- ActivationStatusBlobInfo - Class in io.getlime.security.powerauth.crypto.lib.model
-
Information about activation status as parsed from the blob provided by calling /pa/activation/status end-point.
- ActivationStatusBlobInfo() - Constructor for class io.getlime.security.powerauth.crypto.lib.model.ActivationStatusBlobInfo
- ActivationVersion - Enum Class in io.getlime.security.powerauth.crypto.lib.model
-
Enumeration representing activation version.
- AESEncryptionUtils - Class in io.getlime.security.powerauth.crypto.lib.util
-
A utility class for AES encryption.
- AESEncryptionUtils() - Constructor for class io.getlime.security.powerauth.crypto.lib.util.AESEncryptionUtils
- APPLICATION_SCOPE - Enum constant in enum class io.getlime.security.powerauth.crypto.lib.encryptor.model.EncryptorScope
-
Application scope (non-personalized).
- APPLICATION_SCOPE_GENERIC - Enum constant in enum class io.getlime.security.powerauth.crypto.lib.encryptor.model.EncryptorId
-
Generic application encryption.
- Argon2Hash - Class in io.getlime.security.powerauth.crypto.lib.model
-
Class representing Argon2 hash in Modular Crypt Format.
- Argon2Hash(String) - Constructor for class io.getlime.security.powerauth.crypto.lib.model.Argon2Hash
-
Constructor with algorithm name.
B
- base64() - Static method in class io.getlime.security.powerauth.crypto.lib.config.SignatureConfiguration
-
Construct new Base64 signature.
- BASE64 - Enum constant in enum class io.getlime.security.powerauth.crypto.lib.enums.PowerAuthSignatureFormat
-
Each signature's factor is represented by 16-bytes long binary data.
- Base64SignatureConfiguration - Class in io.getlime.security.powerauth.crypto.lib.config
-
Configuration for Base64 signatures.
- BIOMETRY - Enum constant in enum class io.getlime.security.powerauth.crypto.lib.enums.PowerAuthSignatureTypes
-
1FA signature using biometry factor key, value = "biometry"
- ByteUtils - Class in io.getlime.security.powerauth.crypto.lib.util
-
A utility class for handling byte array transformations.
C
- calculateHashFromHashBasedCounter(byte[], SecretKey) - Method in class io.getlime.security.powerauth.crypto.lib.util.HashBasedCounterUtils
-
Calculate hash from value representing the hash based counter.
- calculateHashFromHashBasedCounter(byte[], SecretKey) - Method in class io.getlime.security.powerauth.crypto.server.activation.PowerAuthServerActivation
-
Calculate hash from value representing the hash based counter.
- calculateSecretsForExternalEncryptor(EncryptedRequest) - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.ServerEciesEncryptor
- calculateSecretsForExternalEncryptor(EncryptedRequest) - Method in interface io.getlime.security.powerauth.crypto.lib.encryptor.ServerEncryptor
-
Build encryptor secrets that can be used in the external encryptor to decrypt the provided request.
- canDecryptRequest() - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.ServerEciesEncryptor
- canDecryptRequest() - Method in interface io.getlime.security.powerauth.crypto.lib.encryptor.ServerEncryptor
-
Determine whether encrypted request data can be decrypted.
- canDecryptResponse() - Method in interface io.getlime.security.powerauth.crypto.lib.encryptor.ClientEncryptor
-
Determine whether encrypted response data can be decrypted.
- canDecryptResponse() - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.ClientEciesEncryptor
- canEncryptRequest() - Method in interface io.getlime.security.powerauth.crypto.lib.encryptor.ClientEncryptor
-
Determine whether request data can be encrypted.
- canEncryptRequest() - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.ClientEciesEncryptor
- canEncryptResponse() - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.ServerEciesEncryptor
- canEncryptResponse() - Method in interface io.getlime.security.powerauth.crypto.lib.encryptor.ServerEncryptor
-
Determine whether response data can be encrypted.
- ClientEciesEncryptor - Class in io.getlime.security.powerauth.crypto.lib.encryptor.ecies
-
Class implements ECIES encryption for PowerAuth clients.
- ClientEciesEncryptor(EncryptorId, EncryptorParameters) - Constructor for class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.ClientEciesEncryptor
-
Construct ECIES encryptor that implements encryption for PowerAuth Clients.
- ClientEncryptor - Interface in io.getlime.security.powerauth.crypto.lib.encryptor
-
The
ClientEncryptorinterface provides End-To-End Encryption for PowerAuth Clients. - ClientEncryptorSecrets - Class in io.getlime.security.powerauth.crypto.lib.encryptor.model.v3
-
The
ClientEncryptorSecretsclass provides secret values for client side encryptor using ECIES scheme. - ClientEncryptorSecrets(PublicKey, byte[]) - Constructor for class io.getlime.security.powerauth.crypto.lib.encryptor.model.v3.ClientEncryptorSecrets
-
Construct encryptor secrets with precalculated SharedInfo2 base.
- ClientEncryptorSecrets(PublicKey, String) - Constructor for class io.getlime.security.powerauth.crypto.lib.encryptor.model.v3.ClientEncryptorSecrets
-
Construct encryptor secrets for an application scoped encryptor.
- ClientEncryptorSecrets(PublicKey, String, byte[]) - Constructor for class io.getlime.security.powerauth.crypto.lib.encryptor.model.v3.ClientEncryptorSecrets
-
Construct encryptor secrets for an activation scoped encryptor.
- ClientTokenGenerator - Class in io.getlime.security.powerauth.crypto.client.token
-
Class that simplifies working with tokens on the client side.
- ClientTokenGenerator() - Constructor for class io.getlime.security.powerauth.crypto.client.token.ClientTokenGenerator
- compute(ECPublicKey, ECPublicKey, String, ActivationVersion) - Static method in class io.getlime.security.powerauth.crypto.lib.util.ECPublicKeyFingerprint
-
Compute activation fingerprint.
- computeActivationFingerprint(PublicKey, PublicKey, String) - Method in class io.getlime.security.powerauth.crypto.client.activation.PowerAuthClientActivation
-
Compute a fingerprint for the version 3 activation.
- computeActivationFingerprint(PublicKey, PublicKey, String) - Method in class io.getlime.security.powerauth.crypto.server.activation.PowerAuthServerActivation
-
Compute a fingerprint for the version 3 activation.
- computeActivationFingerprint(PublicKey, PublicKey, String, ActivationVersion) - Method in class io.getlime.security.powerauth.crypto.client.activation.PowerAuthClientActivation
-
Compute a fingerprint for the activation.
- computeActivationFingerprint(PublicKey, PublicKey, String, ActivationVersion) - Method in class io.getlime.security.powerauth.crypto.server.activation.PowerAuthServerActivation
-
Compute a fingerprint for the activation.
- computeECDSASignature(byte[], PrivateKey) - Method in class io.getlime.security.powerauth.crypto.lib.util.SignatureUtils
-
Compute ECDSA signature of given bytes with a private key.
- computeECDSASignature(byte[], PrivateKey, SecureRandom) - Method in class io.getlime.security.powerauth.crypto.lib.util.SignatureUtils
-
Compute ECDSA signature of given bytes with a private key, using a provided instance of SecureRandom.
- computePowerAuthSignature(byte[], List<SecretKey>, byte[], SignatureConfiguration) - Method in class io.getlime.security.powerauth.crypto.lib.util.SignatureUtils
-
Compute PowerAuth signature for given data using a secret signature keys and counter byte array.
- computeServerDataSignature(String, byte[], PrivateKey) - Method in class io.getlime.security.powerauth.crypto.server.activation.PowerAuthServerActivation
-
Compute an activation ID and encrypted server public key signature using the Master Private Key.
- computeSharedKey(PrivateKey, PublicKey) - Method in class io.getlime.security.powerauth.crypto.lib.generator.KeyGenerator
-
Computes a pre-shared key for given private key and public key (ECDH).
- computeSharedKey(PrivateKey, PublicKey, boolean) - Method in class io.getlime.security.powerauth.crypto.lib.generator.KeyGenerator
-
Computes a pre-shared key for given private key and public key (ECDH).
- computeTokenDigest(byte[], byte[], String, byte[]) - Method in class io.getlime.security.powerauth.crypto.client.token.ClientTokenGenerator
-
Compute the digest of provided token information using given token secret.
- computeTokenDigest(byte[], byte[], String, byte[]) - Method in class io.getlime.security.powerauth.crypto.lib.util.TokenUtils
-
Compute the digest of provided token information using given token secret.
- concat(byte[]...) - Static method in class io.getlime.security.powerauth.crypto.lib.util.ByteUtils
-
Concatenate multiple byte arrays.
- concatStrings(String...) - Static method in class io.getlime.security.powerauth.crypto.lib.util.ByteUtils
-
Concatenate multiple strings and convert them into a byte array, include each string length.
- concatWithSizes(byte[]...) - Static method in class io.getlime.security.powerauth.crypto.lib.util.ByteUtils
-
Concatenate multiple byte arrays, including each component size.
- configureSecrets(EncryptorSecrets) - Method in interface io.getlime.security.powerauth.crypto.lib.encryptor.ClientEncryptor
-
Configure secret keys before the encryptor is used for the encryption and decryption tasks.
- configureSecrets(EncryptorSecrets) - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.ClientEciesEncryptor
- configureSecrets(EncryptorSecrets) - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.ServerEciesEncryptor
- configureSecrets(EncryptorSecrets) - Method in interface io.getlime.security.powerauth.crypto.lib.encryptor.ServerEncryptor
-
Configure secret keys before the encryptor is used for the encryption and decryption tasks.
- CONFIRM_RECOVERY_CODE - Enum constant in enum class io.getlime.security.powerauth.crypto.lib.encryptor.model.EncryptorId
-
Recovery code confirmation encryption.
- constantTimeAreEqual(byte[], byte[]) - Static method in class io.getlime.security.powerauth.crypto.lib.util.SideChannelUtils
-
Compare two byte arrays in constant time.
- convert32Bto16B(byte[]) - Method in class io.getlime.security.powerauth.crypto.lib.generator.KeyGenerator
-
Convert 32B byte long array to 16B long array by applying xor between first half and second half values.
- convertBytesToPrivateKey(byte[]) - Method in class io.getlime.security.powerauth.crypto.lib.util.KeyConvertor
-
Convert a byte array to an EC private key by decoding the D number parameter (S in Java Security).
- convertBytesToPublicKey(byte[]) - Method in class io.getlime.security.powerauth.crypto.lib.util.KeyConvertor
-
Converts byte array to an EC public key, by decoding the Q point (W in Java Security).
- convertBytesToSharedSecretKey(byte[]) - Method in class io.getlime.security.powerauth.crypto.lib.util.KeyConvertor
-
Converts a byte array to the secret shared key (usually used for AES based operations).
- convertPointBytesToPublicKey(byte[], byte[]) - Method in class io.getlime.security.powerauth.crypto.lib.util.KeyConvertor
-
Converts provided byte array representing X coordinate of an EC public key.
- convertPrivateKeyToBytes(PrivateKey) - Method in class io.getlime.security.powerauth.crypto.lib.util.KeyConvertor
-
Converts an EC private key to bytes by encoding the D number parameter (S in Java Security).
- convertPublicKeyToBytes(PublicKey) - Method in class io.getlime.security.powerauth.crypto.lib.util.KeyConvertor
-
Converts an EC public key to a byte array by encoding Q point parameter (W in Java Security).
- convertSharedSecretKeyToBytes(SecretKey) - Method in class io.getlime.security.powerauth.crypto.lib.util.KeyConvertor
-
Converts a shared secret key (usually used for AES based operations) to a byte array.
- convertTokenTimestamp(long) - Method in class io.getlime.security.powerauth.crypto.lib.util.TokenUtils
-
Helper method to convert provided timestamp into bytes (using the string representation of the timestamp), for the purpose of token timestamping.
- convertTokenTimestamp(long) - Method in class io.getlime.security.powerauth.crypto.server.token.ServerTokenVerifier
-
Helper method to convert provided timestamp into bytes (from string representation), for the purpose of token timestamping.
- Counter - Interface in io.getlime.security.powerauth.crypto.lib.api
-
Interface for byte array based counter used for cryptography.
- CRC16 - Class in io.getlime.security.powerauth.crypto.lib.util
-
Class which computes CRC-16 of input data providing standard
Checksuminterface. - CRC16() - Constructor for class io.getlime.security.powerauth.crypto.lib.util.CRC16
-
Default constructor.
- CREATE_TOKEN - Enum constant in enum class io.getlime.security.powerauth.crypto.lib.encryptor.model.EncryptorId
-
Create token encryption.
- CRYPTO_PROVIDER_NAME - Static variable in class io.getlime.security.powerauth.crypto.lib.config.PowerAuthConfiguration
-
Name of cryptography provider used by PowerAuth.
- CryptoProviderException - Exception Class in io.getlime.security.powerauth.crypto.lib.model.exception
-
Exception used for handling case when cryptography provider is incorrectly initialized.
- CryptoProviderException() - Constructor for exception class io.getlime.security.powerauth.crypto.lib.model.exception.CryptoProviderException
-
Exception without error message.
- CryptoProviderException(String) - Constructor for exception class io.getlime.security.powerauth.crypto.lib.model.exception.CryptoProviderException
-
Exception with error message.
- CryptoProviderException(String, Throwable) - Constructor for exception class io.getlime.security.powerauth.crypto.lib.model.exception.CryptoProviderException
-
Exception with error message and cause.
- CryptoProviderException(Throwable) - Constructor for exception class io.getlime.security.powerauth.crypto.lib.model.exception.CryptoProviderException
-
Exception with cause.
D
- DataDigest - Class in io.getlime.security.powerauth.crypto.server.util
-
This is a helper class that provides utility methods for computing various data digests.
- DataDigest() - Constructor for class io.getlime.security.powerauth.crypto.server.util.DataDigest
-
Initializes the data digest instance that produces digest of length 8.
- DataDigest(int) - Constructor for class io.getlime.security.powerauth.crypto.server.util.DataDigest
-
Initializes the data digest instance that produces digest of specified length.
- DataDigest.Result - Class in io.getlime.security.powerauth.crypto.server.util
-
Data digest result.
- decimal() - Static method in class io.getlime.security.powerauth.crypto.lib.config.SignatureConfiguration
-
Construct new decimal signature of default length.
- decimal(Integer) - Static method in class io.getlime.security.powerauth.crypto.lib.config.SignatureConfiguration
-
Construct new decimal signature of given length.
- DECIMAL - Enum constant in enum class io.getlime.security.powerauth.crypto.lib.enums.PowerAuthSignatureFormat
-
Each signature's factor is represented by one decimal, zero-padded, 8-digit long number.
- DecimalSignatureConfiguration - Class in io.getlime.security.powerauth.crypto.lib.config
-
Configuration for decimal signatures.
- decrypt(byte[], byte[], SecretKey) - Method in class io.getlime.security.powerauth.crypto.lib.util.AESEncryptionUtils
-
Decrypt given data using AES/CBC/PKCS7Padding with given initialization vector and secret key.
- decrypt(byte[], byte[], SecretKey, String) - Method in class io.getlime.security.powerauth.crypto.lib.util.AESEncryptionUtils
-
Decrypt given data using given transformation with given initialization vector and secret key.
- decrypt(EciesPayload) - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.EciesDecryptor
-
Decrypt data from ECIES payload.
- decryptDevicePrivateKey(byte[], SecretKey) - Method in class io.getlime.security.powerauth.crypto.client.vault.PowerAuthClientVault
-
Decrypts original device private key KEY_DEVICE_PRIVATE using the vault encryption key KEY_ENCRYPTION_VAULT.
- decryptRequest(EncryptedRequest) - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.ServerEciesEncryptor
- decryptRequest(EncryptedRequest) - Method in interface io.getlime.security.powerauth.crypto.lib.encryptor.ServerEncryptor
-
Decrypt encrypted request data.
- decryptResponse(EncryptedResponse) - Method in interface io.getlime.security.powerauth.crypto.lib.encryptor.ClientEncryptor
-
Decrypt response received from the server.
- decryptResponse(EncryptedResponse) - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.ClientEciesEncryptor
- decryptVaultEncryptionKey(byte[], SecretKey) - Method in class io.getlime.security.powerauth.crypto.client.vault.PowerAuthClientVault
-
Decrypts the vault encryption key KEY_ENCRYPTION_VAULT using KEY_TRANSPORT.
- derive(byte[], byte[], int) - Static method in class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.kdf.KdfX9_63
-
Derive a new key using X9.63 with SHA256 digest.
- deriveAssociatedData(EncryptorScope, String, String, String, String) - Static method in class io.getlime.security.powerauth.crypto.lib.util.EciesUtils
-
Derive associated data for ECIES.
- deriveIvForNonce(byte[]) - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.EciesEnvelopeKey
-
Derive initialization vector from IV key and provided nonce.
- deriveIvForStatusBlobEncryption(byte[], byte[], SecretKey) - Method in class io.getlime.security.powerauth.crypto.lib.util.KeyDerivationUtils
-
Derive Initialization Vector for AES-CBC cipher used for an activation status blob encryption and decryption.
- deriveRecoveryCode(SecretKey, RecoverySeed) - Method in class io.getlime.security.powerauth.crypto.lib.generator.IdentifierGenerator
-
Derive recovery code and PUKs for given secret key and seed information.
- deriveSecretKey(SecretKey, byte[]) - Method in class io.getlime.security.powerauth.crypto.lib.generator.KeyGenerator
-
Derive a new secret key KEY_SHARED from a master secret key KEY_MASTER based on following KDF:
- deriveSecretKeyFromPassword(String, byte[]) - Method in class io.getlime.security.powerauth.crypto.lib.generator.KeyGenerator
-
Derive a long AES suitable key from a password and salt.
- deriveSecretKeyFromPassword(String, byte[], int) - Method in class io.getlime.security.powerauth.crypto.lib.generator.KeyGenerator
-
Derive a long AES suitable key from a password and salt.
- deriveSecretKeyHmac(SecretKey, byte[]) - Method in class io.getlime.security.powerauth.crypto.lib.generator.KeyGenerator
-
Derive a new secret key KEY_SHARED from a master secret key KEY_MASTER based on following KDF:
- deriveSecretKeyHmacLegacy(SecretKey, byte[]) - Method in class io.getlime.security.powerauth.crypto.lib.generator.KeyGenerator
-
Deprecated.
- deriveSharedInfo2(String, byte[], byte[], byte[], Long, byte[]) - Static method in class io.getlime.security.powerauth.crypto.lib.util.EciesUtils
-
Derive final SharedInfo2 constant for ECIES encryption scheme.
- deriveSharedInfo2Base(EncryptorScope, String, byte[]) - Static method in class io.getlime.security.powerauth.crypto.lib.util.EciesUtils
-
Derive base for SharedInfo2 calculation for ECIES encryption scheme.
- deriveTransportKey(PrivateKey, PublicKey) - Method in class io.getlime.security.powerauth.crypto.server.keyfactory.PowerAuthServerKeyFactory
-
Derive transport key KEY_TRANSPORT in two steps: 1.
E
- EciesCryptogram - Class in io.getlime.security.powerauth.crypto.lib.encryptor.ecies.model
-
The EciesCryptogram structure represents cryptogram transmitted over the network.
- EciesCryptogram() - Constructor for class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.model.EciesCryptogram
- EciesDecryptor - Class in io.getlime.security.powerauth.crypto.lib.encryptor.ecies
-
Class implementing an ECIES decryptor.
- EciesDecryptor(EciesEnvelopeKey, byte[]) - Constructor for class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.EciesDecryptor
-
Construct a decryptor from existing ECIES envelope key and sharedInfo2 parameter.
- EciesDecryptor(ECPrivateKey) - Constructor for class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.EciesDecryptor
-
Construct a new decryptor with the base private key and null sharedInfo1 and sharedInfo2 parameters.
- EciesDecryptor(ECPrivateKey, byte[], byte[]) - Constructor for class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.EciesDecryptor
-
Construct a new decryptor with the base private key and provided sharedInfo1 and sharedInfo2 parameters.
- EciesEncryptor - Class in io.getlime.security.powerauth.crypto.lib.encryptor.ecies
-
Class implementing an ECIES encryptor.
- EciesEncryptor(EciesEnvelopeKey, byte[]) - Constructor for class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.EciesEncryptor
-
Construct an encryptor from existing ECIES envelope key and sharedInfo2 parameter.
- EciesEncryptor(ECPublicKey) - Constructor for class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.EciesEncryptor
-
Construct a new encryptor with null sharedInfo1 and sharedInfo2.
- EciesEncryptor(ECPublicKey, byte[], byte[]) - Constructor for class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.EciesEncryptor
-
Construct a new encryptor with provided sharedInfo1 and sharedInfo2.
- EciesEnvelopeKey - Class in io.getlime.security.powerauth.crypto.lib.encryptor.ecies
-
The ECIES Envelope Key represents a temporary key for ECIES encryption and decryption process.
- EciesEnvelopeKey(byte[], byte[]) - Constructor for class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.EciesEnvelopeKey
-
EciesEnvelopeKey constructor with secret key and ephemeral public key.
- EciesException - Exception Class in io.getlime.security.powerauth.crypto.lib.encryptor.ecies.exception
-
Exception used for handling incorrect ECIES encryption / decryption states.
- EciesException() - Constructor for exception class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.exception.EciesException
-
Default constructor.
- EciesException(String) - Constructor for exception class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.exception.EciesException
-
Constructor with message.
- EciesException(String, Throwable) - Constructor for exception class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.exception.EciesException
-
Construction with message and cause.
- EciesParameters - Class in io.getlime.security.powerauth.crypto.lib.encryptor.ecies.model
-
The EciesParameters structure represents additional ECIES parameters transmitted over the network.
- EciesParameters() - Constructor for class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.model.EciesParameters
- EciesPayload - Class in io.getlime.security.powerauth.crypto.lib.encryptor.ecies.model
-
The EciesPayload structure represents ECIES payload transmitted over the network.
- EciesPayload(byte[], byte[], byte[], byte[]) - Constructor for class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.model.EciesPayload
-
Constructor for V3.0 and V3.1 protocol versions of ECIES structure.
- EciesPayload(byte[], byte[], byte[], byte[], byte[], Long) - Constructor for class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.model.EciesPayload
-
Constructor for V3.2 protocol version of ECIES structure.
- EciesRequestResponseValidator - Class in io.getlime.security.powerauth.crypto.lib.encryptor.ecies
-
The
EciesRequestResponseValidatorclass implements request and response validation for 3.x protocol versions. - EciesRequestResponseValidator(String) - Constructor for class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.EciesRequestResponseValidator
-
Construct validator for particular protocol version.
- EciesUtils - Class in io.getlime.security.powerauth.crypto.lib.util
-
A utility class for handling ECIES data.
- ECPublicKeyFingerprint - Class in io.getlime.security.powerauth.crypto.lib.util
-
Class that is used for computing EC public key fingerprint.
- ECPublicKeyFingerprint() - Constructor for class io.getlime.security.powerauth.crypto.lib.util.ECPublicKeyFingerprint
- encodeInt(int) - Static method in class io.getlime.security.powerauth.crypto.lib.util.ByteUtils
-
Encode an int number into a byte array.
- encodeLong(long) - Static method in class io.getlime.security.powerauth.crypto.lib.util.ByteUtils
-
Encode a long number into a byte array.
- encodeShort(short) - Static method in class io.getlime.security.powerauth.crypto.lib.util.ByteUtils
-
Encode a short number into a byte array.
- encodeString(String) - Static method in class io.getlime.security.powerauth.crypto.lib.util.ByteUtils
-
Encode a String into a byte array.
- encrypt(byte[], boolean, boolean, byte[]) - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.EciesEncryptor
-
Encrypt data.
- encrypt(byte[], byte[], SecretKey) - Method in class io.getlime.security.powerauth.crypto.lib.util.AESEncryptionUtils
-
Encrypt given data using AES/CBC/PKCS7Padding with given initialization vector and secret key.
- encrypt(byte[], byte[], SecretKey, String) - Method in class io.getlime.security.powerauth.crypto.lib.util.AESEncryptionUtils
-
Encrypt given data using given transformation with given initialization vector and secret key.
- encrypt(byte[], EciesParameters) - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.EciesEncryptor
-
Encrypt data with provided ECIES parameters.
- encryptDevicePrivateKey(PrivateKey, SecretKey) - Method in class io.getlime.security.powerauth.crypto.client.vault.PowerAuthClientVault
-
Encrypts original device private key KEY_DEVICE_PRIVATE using the vault encryption key KEY_ENCRYPTION_VAULT.
- ENCRYPTED_VAULT - Enum constant in enum class io.getlime.security.powerauth.crypto.lib.enums.PowerAuthDerivedKey
-
Value related to the encrypted vault key, value = 2000
- EncryptedRequest - Class in io.getlime.security.powerauth.crypto.lib.encryptor.model
-
The
EncryptedRequestobject represents an encrypted request payload in PowerAuth End-To-End encryption scheme. - EncryptedRequest() - Constructor for class io.getlime.security.powerauth.crypto.lib.encryptor.model.EncryptedRequest
- EncryptedResponse - Class in io.getlime.security.powerauth.crypto.lib.encryptor.model
-
The
EncryptedResponseobject represents an encrypted request payload in PowerAuth End-To-End encryption scheme. - EncryptedResponse() - Constructor for class io.getlime.security.powerauth.crypto.lib.encryptor.model.EncryptedResponse
- encryptedStatusBlob(ActivationStatusBlobInfo, byte[], byte[], SecretKey) - Method in class io.getlime.security.powerauth.crypto.server.activation.PowerAuthServerActivation
-
Returns an encrypted status blob as described in PowerAuth Specification.
- EncryptorException - Exception Class in io.getlime.security.powerauth.crypto.lib.encryptor.exception
-
Exception used for handling incorrect general encryption / decryption states.
- EncryptorException() - Constructor for exception class io.getlime.security.powerauth.crypto.lib.encryptor.exception.EncryptorException
-
Default constructor.
- EncryptorException(String) - Constructor for exception class io.getlime.security.powerauth.crypto.lib.encryptor.exception.EncryptorException
-
Constructor with message.
- EncryptorException(String, Throwable) - Constructor for exception class io.getlime.security.powerauth.crypto.lib.encryptor.exception.EncryptorException
-
Construction with message and cause.
- EncryptorFactory - Class in io.getlime.security.powerauth.crypto.lib.encryptor
-
The
EncryptorFactoryclass provide high level encryptors for PowerAuth End-To-End encryption implementation. - EncryptorFactory() - Constructor for class io.getlime.security.powerauth.crypto.lib.encryptor.EncryptorFactory
- EncryptorId - Enum Class in io.getlime.security.powerauth.crypto.lib.encryptor.model
-
Enumeration with constants for parameter sharedInfo1.
- EncryptorParameters - Class in io.getlime.security.powerauth.crypto.lib.encryptor.model
-
The
EncryptorParametersobject contains shared parameters that affects what type ofServerEncryptororClientEncryptoris constructed inEncryptorFactory. - EncryptorParameters() - Constructor for class io.getlime.security.powerauth.crypto.lib.encryptor.model.EncryptorParameters
- EncryptorScope - Enum Class in io.getlime.security.powerauth.crypto.lib.encryptor.model
-
Enumeration of application scopes for encryptor.
- EncryptorSecrets - Interface in io.getlime.security.powerauth.crypto.lib.encryptor.model
-
Secret keys and constants for general End-To-End encryptor.
- encryptRequest(byte[]) - Method in interface io.getlime.security.powerauth.crypto.lib.encryptor.ClientEncryptor
-
Encrypt data with this encryptor.
- encryptRequest(byte[]) - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.ClientEciesEncryptor
- encryptResponse(byte[]) - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.ServerEciesEncryptor
- encryptResponse(byte[]) - Method in interface io.getlime.security.powerauth.crypto.lib.encryptor.ServerEncryptor
-
Encrypt response data.
- encryptVaultEncryptionKey(PrivateKey, PublicKey) - Method in class io.getlime.security.powerauth.crypto.server.vault.PowerAuthServerVault
-
Return encrypted vault encryption key KEY_ENCRYPTION_VAULT using KEY_TRANSPORT.
- equalsName(String) - Method in enum class io.getlime.security.powerauth.crypto.lib.enums.PowerAuthSignatureFormat
-
Compare enumeration to another string.
- equalsName(String) - Method in enum class io.getlime.security.powerauth.crypto.lib.enums.PowerAuthSignatureTypes
-
Check if the enum value has the same name as a given string.
F
- FINGERPRINT_LENGTH - Static variable in class io.getlime.security.powerauth.crypto.lib.config.PowerAuthConfiguration
-
Length of device public key fingerprint (number of decimal numbers representing fingerprint)
- forFormat(PowerAuthSignatureFormat) - Static method in class io.getlime.security.powerauth.crypto.lib.config.SignatureConfiguration
-
Convert PowerAuth signature format to signature configuration.
G
- generateActivationCode() - Method in class io.getlime.security.powerauth.crypto.lib.generator.IdentifierGenerator
-
Generate version 3.0 or higher activation code.
- generateActivationCode() - Method in class io.getlime.security.powerauth.crypto.server.activation.PowerAuthServerActivation
-
Generate a pseudo-unique activation code.
- generateActivationCode(byte[]) - Method in class io.getlime.security.powerauth.crypto.lib.generator.IdentifierGenerator
-
Generate version 3.0 or higher activation code using provided random bytes.
- generateActivationId() - Method in class io.getlime.security.powerauth.crypto.lib.generator.IdentifierGenerator
-
Generate a new random activation ID - a UUID level 4 instance.
- generateActivationId() - Method in class io.getlime.security.powerauth.crypto.server.activation.PowerAuthServerActivation
-
Generate a pseudo-unique activation ID.
- generateActivationNonce() - Method in class io.getlime.security.powerauth.crypto.client.activation.PowerAuthClientActivation
-
Generate a new activation nonce.
- generateActivationNonce() - Method in class io.getlime.security.powerauth.crypto.server.activation.PowerAuthServerActivation
-
Generate a new server activation nonce.
- generateActivationSignature(String, PrivateKey) - Method in class io.getlime.security.powerauth.crypto.server.activation.PowerAuthServerActivation
-
Generate signature for the activation code.
- generateClientMasterSecretKey(PrivateKey, PublicKey) - Method in class io.getlime.security.powerauth.crypto.client.keyfactory.PowerAuthClientKeyFactory
-
Generate a master secret key KEY_MASTER_SECRET using the device private key KEY_DEVICE_PRIVATE and server public key KEY_SERVER_PUBLIC.
- generateClientSignatureBiometryKey(SecretKey) - Method in class io.getlime.security.powerauth.crypto.client.keyfactory.PowerAuthClientKeyFactory
-
Generate a signature key KEY_SIGNATURE_BIOMETRY from master secret key KEY_MASTER_SECRET using KDF.
- generateClientSignatureKnowledgeKey(SecretKey) - Method in class io.getlime.security.powerauth.crypto.client.keyfactory.PowerAuthClientKeyFactory
-
Generate a signature key KEY_SIGNATURE_KNOWLEDGE from master secret key KEY_MASTER_SECRET using KDF.
- generateClientSignaturePossessionKey(SecretKey) - Method in class io.getlime.security.powerauth.crypto.client.keyfactory.PowerAuthClientKeyFactory
-
Generate a signature key KEY_SIGNATURE_POSSESSION from master secret key KEY_MASTER_SECRET using KDF.
- generateDeviceKeyPair() - Method in class io.getlime.security.powerauth.crypto.client.activation.PowerAuthClientActivation
-
Generate a device related activation key pair.
- generateDigest(List<String>) - Method in class io.getlime.security.powerauth.crypto.server.util.DataDigest
-
Data digest of the list with string elements.
- generateKeyPair() - Method in class io.getlime.security.powerauth.crypto.lib.generator.KeyGenerator
-
Generate a new ECDH key pair using P256r1 curve.
- generateMacData(byte[], byte[]) - Static method in class io.getlime.security.powerauth.crypto.lib.util.EciesUtils
-
Generate MAC data for ECIES request or response MAC validation.
- generateRandomBytes(int) - Method in class io.getlime.security.powerauth.crypto.lib.generator.KeyGenerator
-
Generate a new random byte array with given length.
- generateRandomSecretKey() - Method in class io.getlime.security.powerauth.crypto.lib.generator.KeyGenerator
-
Generate a new random symmetric key.
- generateRecoveryCode() - Method in class io.getlime.security.powerauth.crypto.lib.generator.IdentifierGenerator
-
Generate recovery code and PUK.
- generateRecoveryCode(SecretKey, int, boolean) - Method in class io.getlime.security.powerauth.crypto.lib.generator.IdentifierGenerator
-
Generate recovery code and PUKs for given secret key, return optional seed information.
- generateServerEncryptedVaultKey(SecretKey) - Method in class io.getlime.security.powerauth.crypto.client.keyfactory.PowerAuthClientKeyFactory
-
Generate a transport key KEY_ENCRYPTED_VAULT from master secret key KEY_MASTER_SECRET using KDF.
- generateServerEncryptedVaultKey(SecretKey) - Method in class io.getlime.security.powerauth.crypto.server.keyfactory.PowerAuthServerKeyFactory
-
Generate a transport key KEY_ENCRYPTED_VAULT from master secret key KEY_MASTER_SECRET using KDF.
- generateServerKeyPair() - Method in class io.getlime.security.powerauth.crypto.server.activation.PowerAuthServerActivation
-
Generate a server related activation key pair.
- generateServerMasterSecretKey(PrivateKey, PublicKey) - Method in class io.getlime.security.powerauth.crypto.server.keyfactory.PowerAuthServerKeyFactory
-
Generate a master secret key KEY_MASTER_SECRET using the server private key KEY_SERVER_PRIVATE and device public key KEY_DEVICE_PUBLIC.
- generateServerSignatureBiometryKey(SecretKey) - Method in class io.getlime.security.powerauth.crypto.server.keyfactory.PowerAuthServerKeyFactory
-
Generate a signature key KEY_SIGNATURE_BIOMETRY from master secret key KEY_MASTER_SECRET using KDF.
- generateServerSignatureKnowledgeKey(SecretKey) - Method in class io.getlime.security.powerauth.crypto.server.keyfactory.PowerAuthServerKeyFactory
-
Generate a signature key KEY_SIGNATURE_KNOWLEDGE from master secret key KEY_MASTER_SECRET using KDF.
- generateServerSignaturePossessionKey(SecretKey) - Method in class io.getlime.security.powerauth.crypto.server.keyfactory.PowerAuthServerKeyFactory
-
Generate a signature key KEY_SIGNATURE_POSSESSION from master secret key KEY_MASTER_SECRET using KDF.
- generateServerTransportKey(SecretKey) - Method in class io.getlime.security.powerauth.crypto.client.keyfactory.PowerAuthClientKeyFactory
-
Generate a transport key KEY_TRANSPORT from master secret key KEY_MASTER_SECRET using KDF.
- generateServerTransportKey(SecretKey) - Method in class io.getlime.security.powerauth.crypto.server.keyfactory.PowerAuthServerKeyFactory
-
Generate a transport key KEY_TRANSPORT from master secret key KEY_MASTER_SECRET using KDF.
- generateTimestamp() - Static method in class io.getlime.security.powerauth.crypto.lib.util.EciesUtils
-
Generate timestamp for ECIES request/response.
- generateTokenId() - Method in class io.getlime.security.powerauth.crypto.lib.util.TokenUtils
-
Generate random token ID.
- generateTokenId() - Method in class io.getlime.security.powerauth.crypto.server.token.ServerTokenGenerator
-
Generate random token ID.
- generateTokenNonce() - Method in class io.getlime.security.powerauth.crypto.client.token.ClientTokenGenerator
-
Generate random token nonce, 16 random bytes.
- generateTokenNonce() - Method in class io.getlime.security.powerauth.crypto.lib.util.TokenUtils
-
Generate random token nonce, 16 random bytes.
- generateTokenSecret() - Method in class io.getlime.security.powerauth.crypto.lib.util.TokenUtils
-
Generate random token secret, 16 random bytes.
- generateTokenSecret() - Method in class io.getlime.security.powerauth.crypto.server.token.ServerTokenGenerator
-
Generate random token secret, 16 random bytes.
- generateTokenTimestamp() - Method in class io.getlime.security.powerauth.crypto.client.token.ClientTokenGenerator
-
Helper method to get current timestamp for the purpose of token timestamping, encoded as bytes (from string representation).
- generateTokenTimestamp() - Method in class io.getlime.security.powerauth.crypto.lib.util.TokenUtils
-
Helper method to get current timestamp for the purpose of token timestamping, encoded as bytes from the String representation of timestamp.
The timestamp conversion works like this: Long timestamp is converted to String and then, bytes of the String are extracted usign the UTF-8 encoding.
Code:String.valueOf(System.currentTimeMillis()).getBytes(StandardCharsets.UTF_8); - generateTotpSha256(byte[], Instant, int) - Static method in class io.getlime.security.powerauth.crypto.lib.totp.Totp
-
Generates a TOTP value for the given set of parameters using HmacSHA256 algorithm.
- generateTotpSha256(byte[], Instant, Duration, int) - Static method in class io.getlime.security.powerauth.crypto.lib.totp.Totp
-
Generates a TOTP value for the given set of parameters using HmacSHA256 algorithm.
- generateTotpSha512(byte[], Instant, int) - Static method in class io.getlime.security.powerauth.crypto.lib.totp.Totp
-
Generates a TOTP value for the given set of parameters using HmacSHA512 algorithm.
- generateTotpSha512(byte[], Instant, Duration, int) - Static method in class io.getlime.security.powerauth.crypto.lib.totp.Totp
-
Generates a TOTP value for the given set of parameters using HmacSHA512 algorithm.
- GenericCryptoException - Exception Class in io.getlime.security.powerauth.crypto.lib.model.exception
-
Exception used for handling unexpected states when using cryptography.
- GenericCryptoException() - Constructor for exception class io.getlime.security.powerauth.crypto.lib.model.exception.GenericCryptoException
-
Default constructor.
- GenericCryptoException(String) - Constructor for exception class io.getlime.security.powerauth.crypto.lib.model.exception.GenericCryptoException
-
Exception with error message.
- GenericCryptoException(String, Throwable) - Constructor for exception class io.getlime.security.powerauth.crypto.lib.model.exception.GenericCryptoException
-
Exception with error message and cause.
- GenericCryptoException(Throwable) - Constructor for exception class io.getlime.security.powerauth.crypto.lib.model.exception.GenericCryptoException
-
Exception with cause.
- getActivationStatus() - Method in class io.getlime.security.powerauth.crypto.lib.model.ActivationStatusBlobInfo
-
Get activation status.
- getAlgorithm() - Method in class io.getlime.security.powerauth.crypto.lib.model.Argon2Hash
-
Get algorithm name.
- getClientEncryptor(EncryptorId, EncryptorParameters) - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.EncryptorFactory
-
Create client-side encryptor that can encrypt the request and decrypt response from the server.
- getClientEncryptor(EncryptorId, EncryptorParameters, EncryptorSecrets) - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.EncryptorFactory
-
Create client-side encryptor that can encrypt the request and decrypt the response from the server.
- getCtrByte() - Method in class io.getlime.security.powerauth.crypto.lib.model.ActivationStatusBlobInfo
-
Get least significant byte from the counter.
- getCtrDataHash() - Method in class io.getlime.security.powerauth.crypto.lib.model.ActivationStatusBlobInfo
-
Get counter data hash.
- getCtrLookAhead() - Method in class io.getlime.security.powerauth.crypto.lib.model.ActivationStatusBlobInfo
-
Get value for counter's look ahead window.
- getCurrentVersion() - Method in class io.getlime.security.powerauth.crypto.lib.model.ActivationStatusBlobInfo
-
Get current crypto protocol version.
- getDigest() - Method in class io.getlime.security.powerauth.crypto.lib.model.Argon2Hash
-
Get digest bytes.
- getDigest() - Method in class io.getlime.security.powerauth.crypto.server.util.DataDigest.Result
-
Get data digest.
- getEciesSharedInfo1(String) - Method in enum class io.getlime.security.powerauth.crypto.lib.encryptor.model.EncryptorId
-
Get bytes of sharedInfo1 parameter for ECIES scheme.
- getEncKey() - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.EciesEnvelopeKey
-
Get secret key for encryption or decryption.
- getEncryptorId() - Method in interface io.getlime.security.powerauth.crypto.lib.encryptor.ClientEncryptor
-
Get this encryptor's identifier.
- getEncryptorId() - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.ClientEciesEncryptor
- getEncryptorId() - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.ServerEciesEncryptor
- getEncryptorId() - Method in interface io.getlime.security.powerauth.crypto.lib.encryptor.ServerEncryptor
-
Get parameters used to construct this encryptor.
- getEncryptorParameters() - Method in interface io.getlime.security.powerauth.crypto.lib.encryptor.ClientEncryptor
-
Get parameters used to construct this encryptor.
- getEncryptorParameters() - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.ClientEciesEncryptor
- getEncryptorParameters() - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.ServerEciesEncryptor
- getEncryptorParameters() - Method in interface io.getlime.security.powerauth.crypto.lib.encryptor.ServerEncryptor
-
Get this encryptor's identifier.
- getEnumFromString(String) - Static method in enum class io.getlime.security.powerauth.crypto.lib.enums.PowerAuthSignatureFormat
-
Converts string into
PowerAuthSignatureFormatenumeration. - getEnumFromString(String) - Static method in enum class io.getlime.security.powerauth.crypto.lib.enums.PowerAuthSignatureTypes
-
Get enum value from provided string.
- getEnvelopeKey() - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.EciesDecryptor
-
Get ECIES envelope key.
- getEnvelopeKey() - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.EciesEncryptor
-
Get ECIES envelope key.
- getEphemeralKeyPublic() - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.EciesEnvelopeKey
-
Get ephemeral public key.
- getFailedAttempts() - Method in class io.getlime.security.powerauth.crypto.lib.model.ActivationStatusBlobInfo
-
Get failed attempt amount.
- getFormatForSignatureVersion(String) - Static method in enum class io.getlime.security.powerauth.crypto.lib.enums.PowerAuthSignatureFormat
-
Get signature format for signature version.
- getIndex() - Method in enum class io.getlime.security.powerauth.crypto.lib.enums.PowerAuthDerivedKey
-
Get the byte array value of key index.
- getIterations() - Method in class io.getlime.security.powerauth.crypto.lib.model.Argon2Hash
-
Get iteration count.
- getIvKey() - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.EciesEnvelopeKey
-
Get key for AES-CBC IV derivation.
- getLength() - Method in class io.getlime.security.powerauth.crypto.lib.config.DecimalSignatureConfiguration
-
Get length of signature.
- getMacKey() - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.EciesEnvelopeKey
-
Get key for HMAC calculation.
- getMaxFailedAttempts() - Method in class io.getlime.security.powerauth.crypto.lib.model.ActivationStatusBlobInfo
-
Get maximum allowed failed attempt count.
- getMemory() - Method in class io.getlime.security.powerauth.crypto.lib.model.Argon2Hash
-
Get memory in bytes.
- getNonce() - Method in class io.getlime.security.powerauth.crypto.lib.model.RecoverySeed
-
Get nonce bytes.
- getParallelism() - Method in class io.getlime.security.powerauth.crypto.lib.model.Argon2Hash
-
Get parallelism parameter.
- getParameters() - Method in class io.getlime.security.powerauth.crypto.lib.model.Argon2Hash
-
Get algorithm parameters.
- getPukDerivationIndexes() - Method in class io.getlime.security.powerauth.crypto.lib.model.RecoverySeed
-
Get PUK derivation indexes.
- getPuks() - Method in class io.getlime.security.powerauth.crypto.lib.model.RecoveryInfo
-
Get recovery PUKs.
- getRecoveryCode() - Method in class io.getlime.security.powerauth.crypto.lib.model.RecoveryInfo
-
Get recovery code.
- getRequestResponseValidator(String) - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.EncryptorFactory
-
Get request or response data validator for given protocol version.
- getSalt() - Method in class io.getlime.security.powerauth.crypto.lib.model.Argon2Hash
-
Get salt bytes.
- getSalt() - Method in class io.getlime.security.powerauth.crypto.server.util.DataDigest.Result
-
Get salt used for creating the data digest.
- getSecretKey() - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.EciesEnvelopeKey
-
Get the complete secret key for ECIES.
- getSeed() - Method in class io.getlime.security.powerauth.crypto.lib.model.RecoveryInfo
-
Get recovery seed.
- getServerEncryptor(EncryptorId, EncryptorParameters) - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.EncryptorFactory
-
Create server-side encryptor that can decrypt the request from the client and encrypt the response.
- getServerEncryptor(EncryptorId, EncryptorParameters, EncryptorSecrets) - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.EncryptorFactory
-
Create server-side encryptor that can decrypt the request from the client and encrypt the response.
- getSharedInfo2() - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.EciesDecryptor
-
Get parameter sharedInfo2 for ECIES.
- getSharedInfo2() - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.EciesEncryptor
-
Get parameter sharedInfo2 for ECIES.
- getSignatureFormat() - Method in class io.getlime.security.powerauth.crypto.lib.config.SignatureConfiguration
-
Get signature format.
- getStatusFromEncryptedBlob(byte[], byte[], byte[], SecretKey) - Method in class io.getlime.security.powerauth.crypto.client.activation.PowerAuthClientActivation
-
Returns an activation status from the encrypted activation blob as described in PowerAuth Specification.
- getUpgradeVersion() - Method in class io.getlime.security.powerauth.crypto.lib.model.ActivationStatusBlobInfo
-
Get crypto version for possible upgrade.
- getValue() - Method in class io.getlime.security.powerauth.crypto.lib.util.CRC16
-
Return the current CRC-16 value.
- getVersion() - Method in class io.getlime.security.powerauth.crypto.lib.model.Argon2Hash
-
Get algorithm version.
H
- hash(byte[]) - Static method in class io.getlime.security.powerauth.crypto.lib.util.PasswordHash
-
Generate hash in Argon2 Modular Crypt Format for specified password using Argon2i algorithm.
- hash(byte[], byte[]) - Method in class io.getlime.security.powerauth.crypto.lib.util.HMACHashUtilities
-
Compute a HMAC-SHA256 of given data with provided key bytes
- hash(SecretKey, byte[]) - Method in class io.getlime.security.powerauth.crypto.lib.util.HMACHashUtilities
-
Compute a HMAC-SHA256 of given data with provided key bytes
- Hash - Class in io.getlime.security.powerauth.crypto.lib.util
-
Simple utility class that provides the basic hash methods.
- Hash() - Constructor for class io.getlime.security.powerauth.crypto.lib.util.Hash
- HashBasedCounter - Class in io.getlime.security.powerauth.crypto.lib.generator
-
Implementation of hash based counter.
- HashBasedCounter() - Constructor for class io.getlime.security.powerauth.crypto.lib.generator.HashBasedCounter
- HashBasedCounterUtils - Class in io.getlime.security.powerauth.crypto.lib.util
-
The
HashBasedCounterUtilsclass provides additional functionality that allows secure transfer and verification of hash based counter over the network. - HashBasedCounterUtils() - Constructor for class io.getlime.security.powerauth.crypto.lib.util.HashBasedCounterUtils
- hashEquals(Argon2Hash) - Method in class io.getlime.security.powerauth.crypto.lib.model.Argon2Hash
-
Compare Argon2 hashes.
- HMACHashUtilities - Class in io.getlime.security.powerauth.crypto.lib.util
-
Simple utility class for HMAC-SHA256 algorithm
- HMACHashUtilities() - Constructor for class io.getlime.security.powerauth.crypto.lib.util.HMACHashUtilities
I
- IdentifierGenerator - Class in io.getlime.security.powerauth.crypto.lib.generator
-
Generator of identifiers used in PowerAuth protocol.
- IdentifierGenerator() - Constructor for class io.getlime.security.powerauth.crypto.lib.generator.IdentifierGenerator
- init() - Method in interface io.getlime.security.powerauth.crypto.lib.api.Counter
-
Initialize counter by generating initial counter data.
- init() - Method in class io.getlime.security.powerauth.crypto.lib.generator.HashBasedCounter
-
Generate initial counter data.
- initEnvelopeKey(byte[]) - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.EciesDecryptor
-
Initialize envelope key for decryptor using provided ephemeral public key.
- initEnvelopeKey(byte[]) - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.EciesEncryptor
-
Initialize envelope key for encryptor using provided ephemeral public key.
- io.getlime.security.powerauth.crypto.client.activation - package io.getlime.security.powerauth.crypto.client.activation
- io.getlime.security.powerauth.crypto.client.keyfactory - package io.getlime.security.powerauth.crypto.client.keyfactory
- io.getlime.security.powerauth.crypto.client.signature - package io.getlime.security.powerauth.crypto.client.signature
- io.getlime.security.powerauth.crypto.client.token - package io.getlime.security.powerauth.crypto.client.token
- io.getlime.security.powerauth.crypto.client.vault - package io.getlime.security.powerauth.crypto.client.vault
- io.getlime.security.powerauth.crypto.lib.api - package io.getlime.security.powerauth.crypto.lib.api
- io.getlime.security.powerauth.crypto.lib.config - package io.getlime.security.powerauth.crypto.lib.config
- io.getlime.security.powerauth.crypto.lib.encryptor - package io.getlime.security.powerauth.crypto.lib.encryptor
- io.getlime.security.powerauth.crypto.lib.encryptor.ecies - package io.getlime.security.powerauth.crypto.lib.encryptor.ecies
- io.getlime.security.powerauth.crypto.lib.encryptor.ecies.exception - package io.getlime.security.powerauth.crypto.lib.encryptor.ecies.exception
- io.getlime.security.powerauth.crypto.lib.encryptor.ecies.kdf - package io.getlime.security.powerauth.crypto.lib.encryptor.ecies.kdf
- io.getlime.security.powerauth.crypto.lib.encryptor.ecies.model - package io.getlime.security.powerauth.crypto.lib.encryptor.ecies.model
- io.getlime.security.powerauth.crypto.lib.encryptor.exception - package io.getlime.security.powerauth.crypto.lib.encryptor.exception
- io.getlime.security.powerauth.crypto.lib.encryptor.model - package io.getlime.security.powerauth.crypto.lib.encryptor.model
- io.getlime.security.powerauth.crypto.lib.encryptor.model.v3 - package io.getlime.security.powerauth.crypto.lib.encryptor.model.v3
- io.getlime.security.powerauth.crypto.lib.enums - package io.getlime.security.powerauth.crypto.lib.enums
- io.getlime.security.powerauth.crypto.lib.generator - package io.getlime.security.powerauth.crypto.lib.generator
- io.getlime.security.powerauth.crypto.lib.model - package io.getlime.security.powerauth.crypto.lib.model
- io.getlime.security.powerauth.crypto.lib.model.exception - package io.getlime.security.powerauth.crypto.lib.model.exception
- io.getlime.security.powerauth.crypto.lib.totp - package io.getlime.security.powerauth.crypto.lib.totp
- io.getlime.security.powerauth.crypto.lib.util - package io.getlime.security.powerauth.crypto.lib.util
- io.getlime.security.powerauth.crypto.server.activation - package io.getlime.security.powerauth.crypto.server.activation
- io.getlime.security.powerauth.crypto.server.keyfactory - package io.getlime.security.powerauth.crypto.server.keyfactory
- io.getlime.security.powerauth.crypto.server.signature - package io.getlime.security.powerauth.crypto.server.signature
- io.getlime.security.powerauth.crypto.server.token - package io.getlime.security.powerauth.crypto.server.token
- io.getlime.security.powerauth.crypto.server.util - package io.getlime.security.powerauth.crypto.server.util
- io.getlime.security.powerauth.crypto.server.vault - package io.getlime.security.powerauth.crypto.server.vault
- isValid() - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.EciesEnvelopeKey
-
Get whether derived secret key is valid.
- isValid() - Method in class io.getlime.security.powerauth.crypto.lib.model.ActivationStatusBlobInfo
-
Return true in case the parsed data was valid (correctly decrypted using transport key), false otherwise.
K
- KdfX9_63 - Class in io.getlime.security.powerauth.crypto.lib.encryptor.ecies.kdf
-
Implementation of X9.63 KDF function with SHA256 digest type.
- KdfX9_63() - Constructor for class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.kdf.KdfX9_63
- KeyConvertor - Class in io.getlime.security.powerauth.crypto.lib.util
-
Key convertor for conversion of symmetric and asymmetric keys.
- KeyConvertor() - Constructor for class io.getlime.security.powerauth.crypto.lib.util.KeyConvertor
- KeyDerivationUtils - Class in io.getlime.security.powerauth.crypto.lib.util
-
The
KeyDerivationUtilsclass provides additional key derivation functionality defined for PowerAuth protocol. - KeyDerivationUtils() - Constructor for class io.getlime.security.powerauth.crypto.lib.util.KeyDerivationUtils
- KeyGenerator - Class in io.getlime.security.powerauth.crypto.lib.generator
-
An implementation of a high-level key generator class.
- KeyGenerator() - Constructor for class io.getlime.security.powerauth.crypto.lib.generator.KeyGenerator
- keysForSignatureType(PowerAuthSignatureTypes, SecretKey) - Method in class io.getlime.security.powerauth.crypto.client.keyfactory.PowerAuthClientKeyFactory
-
Generate a list with signature keys for given signature type and master secret
- keysForSignatureType(PowerAuthSignatureTypes, SecretKey) - Method in class io.getlime.security.powerauth.crypto.server.keyfactory.PowerAuthServerKeyFactory
-
Generate a list with signature keys for given signature type and master secret
- keysForSignatureType(PowerAuthSignatureTypes, SecretKey, SecretKey, SecretKey) - Method in class io.getlime.security.powerauth.crypto.client.keyfactory.PowerAuthClientKeyFactory
-
Return a correct list of keys for given signature type.
- KNOWLEDGE - Enum constant in enum class io.getlime.security.powerauth.crypto.lib.enums.PowerAuthSignatureTypes
-
1FA signature using knowledge factor key, value = "knowledge"
M
- MAX_SIGNATURE_KEYS_COUNT - Static variable in class io.getlime.security.powerauth.crypto.lib.config.PowerAuthConfiguration
-
Maximum number of signature factors allowed in multi-factor signature
N
- next(byte[]) - Method in interface io.getlime.security.powerauth.crypto.lib.api.Counter
-
Generate next counter data based on current counter data.
- next(byte[]) - Method in class io.getlime.security.powerauth.crypto.lib.generator.HashBasedCounter
-
Generate next counter data by hashing current counter data.
P
- parse(String) - Static method in class io.getlime.security.powerauth.crypto.lib.model.Argon2Hash
-
Construct Argon2 parameters from definition in Modular Crypt Format.
- PasswordHash - Class in io.getlime.security.powerauth.crypto.lib.util
-
Utility class that provides password hashing functionality using the Argon2 algorithm.
- PasswordHash() - Constructor for class io.getlime.security.powerauth.crypto.lib.util.PasswordHash
- PBKDF_ITERATIONS - Static variable in class io.getlime.security.powerauth.crypto.lib.config.PowerAuthConfiguration
-
How many iterations should be used for PBKDF2 key derivation.
- POSSESSION - Enum constant in enum class io.getlime.security.powerauth.crypto.lib.enums.PowerAuthSignatureTypes
-
1FA signature using possession factor key, value = "possession"
- POSSESSION_BIOMETRY - Enum constant in enum class io.getlime.security.powerauth.crypto.lib.enums.PowerAuthSignatureTypes
-
2FA signature using possession and biometry factor key, value = "possession_biometry"
- POSSESSION_KNOWLEDGE - Enum constant in enum class io.getlime.security.powerauth.crypto.lib.enums.PowerAuthSignatureTypes
-
2FA signature using possession and knowledge factor key, value = "possession_knowledge"
- POSSESSION_KNOWLEDGE_BIOMETRY - Enum constant in enum class io.getlime.security.powerauth.crypto.lib.enums.PowerAuthSignatureTypes
-
3FA signature using possession, knowledge and biometry factor key, value = "possession_knowledge_biometry"
- PowerAuthClientActivation - Class in io.getlime.security.powerauth.crypto.client.activation
-
Class implementing a cryptography used on the client side in order to complete the PowerAuth Client activation.
- PowerAuthClientActivation() - Constructor for class io.getlime.security.powerauth.crypto.client.activation.PowerAuthClientActivation
- PowerAuthClientKeyFactory - Class in io.getlime.security.powerauth.crypto.client.keyfactory
-
Class implementing client side key factory for keys related to PowerAuth processes.
- PowerAuthClientKeyFactory() - Constructor for class io.getlime.security.powerauth.crypto.client.keyfactory.PowerAuthClientKeyFactory
- PowerAuthClientSignature - Class in io.getlime.security.powerauth.crypto.client.signature
-
Class implementing client-side signature related processes.
- PowerAuthClientSignature() - Constructor for class io.getlime.security.powerauth.crypto.client.signature.PowerAuthClientSignature
- PowerAuthClientVault - Class in io.getlime.security.powerauth.crypto.client.vault
-
Class implementing client-side processes related to PowerAuth secure vault.
- PowerAuthClientVault() - Constructor for class io.getlime.security.powerauth.crypto.client.vault.PowerAuthClientVault
- PowerAuthConfiguration - Class in io.getlime.security.powerauth.crypto.lib.config
-
PowerAuth cryptography configuration class.
- PowerAuthConfiguration() - Constructor for class io.getlime.security.powerauth.crypto.lib.config.PowerAuthConfiguration
- PowerAuthDerivedKey - Enum Class in io.getlime.security.powerauth.crypto.lib.enums
-
Enum with a derived key identifier and indexes.
- PowerAuthServerActivation - Class in io.getlime.security.powerauth.crypto.server.activation
-
Class implementing cryptography used on a server side in order to assure PowerAuth Server activation related processes.
- PowerAuthServerActivation() - Constructor for class io.getlime.security.powerauth.crypto.server.activation.PowerAuthServerActivation
- PowerAuthServerKeyFactory - Class in io.getlime.security.powerauth.crypto.server.keyfactory
-
Key factory used on server side to generate PowerAuth related keys.
- PowerAuthServerKeyFactory() - Constructor for class io.getlime.security.powerauth.crypto.server.keyfactory.PowerAuthServerKeyFactory
- PowerAuthServerSignature - Class in io.getlime.security.powerauth.crypto.server.signature
-
Class implementing processes PowerAuth Server uses to compute and validate signatures.
- PowerAuthServerSignature() - Constructor for class io.getlime.security.powerauth.crypto.server.signature.PowerAuthServerSignature
- PowerAuthServerVault - Class in io.getlime.security.powerauth.crypto.server.vault
-
Class implementing server-side logic for PowerAuth vault encryption.
- PowerAuthServerVault() - Constructor for class io.getlime.security.powerauth.crypto.server.vault.PowerAuthServerVault
- PowerAuthSignatureFormat - Enum Class in io.getlime.security.powerauth.crypto.lib.enums
-
Enum with signature format types.
- PowerAuthSignatureTypes - Enum Class in io.getlime.security.powerauth.crypto.lib.enums
-
Enum with signature type values.
- PublicKeyValidator - Class in io.getlime.security.powerauth.crypto.lib.util
-
Public key validations which complement validations in Bouncy Castle library.
- PublicKeyValidator() - Constructor for class io.getlime.security.powerauth.crypto.lib.util.PublicKeyValidator
R
- RecoveryInfo - Class in io.getlime.security.powerauth.crypto.lib.model
-
Class representing recovery code, recovery PUKs and optional seed information.
- RecoveryInfo() - Constructor for class io.getlime.security.powerauth.crypto.lib.model.RecoveryInfo
-
Default contructor.
- RecoveryInfo(String, Map<Integer, String>) - Constructor for class io.getlime.security.powerauth.crypto.lib.model.RecoveryInfo
-
Constructor with recovery code and PUKs.
- RecoveryInfo(String, Map<Integer, String>, RecoverySeed) - Constructor for class io.getlime.security.powerauth.crypto.lib.model.RecoveryInfo
-
Constructor with recovery code, PUKs and seed.
- RecoverySeed - Class in io.getlime.security.powerauth.crypto.lib.model
-
Class representing recovery code seed information.
- RecoverySeed() - Constructor for class io.getlime.security.powerauth.crypto.lib.model.RecoverySeed
-
Default constructor.
- RecoverySeed(byte[], Map<Integer, Long>) - Constructor for class io.getlime.security.powerauth.crypto.lib.model.RecoverySeed
-
Constructor with nonce bytes and PUK derivation indexes.
- RequestResponseValidator - Interface in io.getlime.security.powerauth.crypto.lib.encryptor
-
The
RequestResponseValidatorinterface allows you to formally validate the encrypted request or response data in advance, before you try to decrypt it. - reset() - Method in class io.getlime.security.powerauth.crypto.lib.util.CRC16
-
Reset CRC-16 to initial value.
S
- scope() - Method in enum class io.getlime.security.powerauth.crypto.lib.encryptor.model.EncryptorId
-
Get encryptor's scope;
- ServerEciesEncryptor - Class in io.getlime.security.powerauth.crypto.lib.encryptor.ecies
-
Class implements ECIES encryption for PowerAuth Server.
- ServerEciesEncryptor(EncryptorId, EncryptorParameters) - Constructor for class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.ServerEciesEncryptor
-
Construct ECIES encryptor that implements encryption for PowerAuth Server.
- ServerEncryptor - Interface in io.getlime.security.powerauth.crypto.lib.encryptor
-
The
ClientEncryptorinterface provides End-To-End Encryption for PowerAuth Clients. - ServerEncryptorSecrets - Class in io.getlime.security.powerauth.crypto.lib.encryptor.model.v3
-
The
ServerEncryptorSecretsclass provides secret values for server side encryptor using ECIES scheme. - ServerEncryptorSecrets(byte[], byte[]) - Constructor for class io.getlime.security.powerauth.crypto.lib.encryptor.model.v3.ServerEncryptorSecrets
-
Construct encryptor secrets with precalculated envelope key and SharedInfo2 base.
- ServerEncryptorSecrets(PrivateKey, String) - Constructor for class io.getlime.security.powerauth.crypto.lib.encryptor.model.v3.ServerEncryptorSecrets
-
Construct encryptor secrets for an application scoped encryptor.
- ServerEncryptorSecrets(PrivateKey, String, byte[]) - Constructor for class io.getlime.security.powerauth.crypto.lib.encryptor.model.v3.ServerEncryptorSecrets
-
Construct encryptor secrets for an activation scoped encryptor.
- ServerTokenGenerator - Class in io.getlime.security.powerauth.crypto.server.token
-
Server side class used for generating new tokens.
- ServerTokenGenerator() - Constructor for class io.getlime.security.powerauth.crypto.server.token.ServerTokenGenerator
- ServerTokenVerifier - Class in io.getlime.security.powerauth.crypto.server.token
-
Class to simplify token verification on the server side.
- ServerTokenVerifier() - Constructor for class io.getlime.security.powerauth.crypto.server.token.ServerTokenVerifier
- setActivationStatus(byte) - Method in class io.getlime.security.powerauth.crypto.lib.model.ActivationStatusBlobInfo
-
Set activation status.
- setAlgorithm(String) - Method in class io.getlime.security.powerauth.crypto.lib.model.Argon2Hash
-
Set algorithm name.
- setCtrByte(byte) - Method in class io.getlime.security.powerauth.crypto.lib.model.ActivationStatusBlobInfo
-
Set least significant byte from the counter.
- setCtrDataHash(byte[]) - Method in class io.getlime.security.powerauth.crypto.lib.model.ActivationStatusBlobInfo
-
Set counter data hash.
- setCtrLookAhead(byte) - Method in class io.getlime.security.powerauth.crypto.lib.model.ActivationStatusBlobInfo
-
Set counter's look ahead window.
- setCurrentVersion(byte) - Method in class io.getlime.security.powerauth.crypto.lib.model.ActivationStatusBlobInfo
-
Set current crypto protocol version.
- setDigest(byte[]) - Method in class io.getlime.security.powerauth.crypto.lib.model.Argon2Hash
-
Set digest bytes.
- setFailedAttempts(byte) - Method in class io.getlime.security.powerauth.crypto.lib.model.ActivationStatusBlobInfo
-
Set failed attempt amount.
- setIterations(Integer) - Method in class io.getlime.security.powerauth.crypto.lib.model.Argon2Hash
-
Set iteration count.
- setLength(Integer) - Method in class io.getlime.security.powerauth.crypto.lib.config.DecimalSignatureConfiguration
-
Set length of the signature.
- setMaxFailedAttempts(byte) - Method in class io.getlime.security.powerauth.crypto.lib.model.ActivationStatusBlobInfo
-
Set maximum allowed failed attempt count.
- setMemory(Integer) - Method in class io.getlime.security.powerauth.crypto.lib.model.Argon2Hash
-
Set memory in bytes.
- setNonce(byte[]) - Method in class io.getlime.security.powerauth.crypto.lib.model.RecoverySeed
-
Set nonce bytes.
- setParallelism(Integer) - Method in class io.getlime.security.powerauth.crypto.lib.model.Argon2Hash
-
Set parallelism parameter.
- setParameters(Map<String, Integer>) - Method in class io.getlime.security.powerauth.crypto.lib.model.Argon2Hash
-
Set algorithm parameters.
- setPukDerivationIndexes(Map<Integer, Long>) - Method in class io.getlime.security.powerauth.crypto.lib.model.RecoverySeed
-
Set PUK derivation indexes.
- setPuks(Map<Integer, String>) - Method in class io.getlime.security.powerauth.crypto.lib.model.RecoveryInfo
-
Set recovery PUKs.
- setRecoveryCode(String) - Method in class io.getlime.security.powerauth.crypto.lib.model.RecoveryInfo
-
Set recovery code.
- setSalt(byte[]) - Method in class io.getlime.security.powerauth.crypto.lib.model.Argon2Hash
-
Set salt bytes.
- setSeed(RecoverySeed) - Method in class io.getlime.security.powerauth.crypto.lib.model.RecoveryInfo
-
Set recovery seed.
- setUpgradeVersion(byte) - Method in class io.getlime.security.powerauth.crypto.lib.model.ActivationStatusBlobInfo
-
Set crypto version for possible upgrade.
- setValid(boolean) - Method in class io.getlime.security.powerauth.crypto.lib.model.ActivationStatusBlobInfo
-
Set validity state.
- setVersion(Integer) - Method in class io.getlime.security.powerauth.crypto.lib.model.Argon2Hash
-
Set algorithm version.
- sha256(byte[]) - Static method in class io.getlime.security.powerauth.crypto.lib.util.Hash
-
Compute SHA256 hash of provided bytes.
- sha256(String) - Static method in class io.getlime.security.powerauth.crypto.lib.util.Hash
-
Compute SHA256 hash of provided string, that was transferred to data using UTF-8 charset.
- sha256(String, Charset) - Static method in class io.getlime.security.powerauth.crypto.lib.util.Hash
-
Compute SHA256 hash of provided string, that was transferred to data using provided charset.
- SideChannelUtils - Class in io.getlime.security.powerauth.crypto.lib.util
-
Utilities for preventing side channel attacks.
- SIGNATURE_BINARY_LENGTH - Static variable in class io.getlime.security.powerauth.crypto.lib.config.PowerAuthConfiguration
-
Length of signature factor in Base64 formatted signature (number of bytes encoded to Base64)
- SIGNATURE_BIOMETRY - Enum constant in enum class io.getlime.security.powerauth.crypto.lib.enums.PowerAuthDerivedKey
-
Value related to the biometry factor signature key, value = 3
- SIGNATURE_COUNTER_LENGTH - Static variable in class io.getlime.security.powerauth.crypto.lib.config.PowerAuthConfiguration
-
Number of bytes required for the signature counter data.
- SIGNATURE_DECIMAL_LENGTH - Static variable in class io.getlime.security.powerauth.crypto.lib.config.PowerAuthConfiguration
-
Length of signature factor in decimal formatted signature (number of decimal numbers representing signature)
- SIGNATURE_KNOWLEDGE - Enum constant in enum class io.getlime.security.powerauth.crypto.lib.enums.PowerAuthDerivedKey
-
Value related to the knowledge factor signature key, value = 2
- SIGNATURE_POSSESSION - Enum constant in enum class io.getlime.security.powerauth.crypto.lib.enums.PowerAuthDerivedKey
-
Value related to the possession factor signature key, value = 1
- SignatureConfiguration - Class in io.getlime.security.powerauth.crypto.lib.config
-
Class that holds information about the signature configuration.
- SignatureConfiguration(PowerAuthSignatureFormat) - Constructor for class io.getlime.security.powerauth.crypto.lib.config.SignatureConfiguration
-
Constructor with the signature format.
- signatureForData(byte[], List<SecretKey>, byte[], SignatureConfiguration) - Method in class io.getlime.security.powerauth.crypto.client.signature.PowerAuthClientSignature
-
Compute a PowerAuth signature for given data, signature keys and counter.
- SignatureUtils - Class in io.getlime.security.powerauth.crypto.lib.util
-
Utility class for signature calculation and validation used both on client and server.
- SignatureUtils() - Constructor for class io.getlime.security.powerauth.crypto.lib.util.SignatureUtils
T
- TokenUtils - Class in io.getlime.security.powerauth.crypto.lib.util
-
Class used for computing PowerAuth Token digests.
- TokenUtils() - Constructor for class io.getlime.security.powerauth.crypto.lib.util.TokenUtils
- toString() - Method in enum class io.getlime.security.powerauth.crypto.lib.enums.PowerAuthSignatureTypes
- toString() - Method in class io.getlime.security.powerauth.crypto.lib.model.Argon2Hash
-
Convert Argon2 hash to String in Modular Crypt Format.
- Totp - Class in io.getlime.security.powerauth.crypto.lib.totp
-
TOTP: Time-Based One-Time Password Algorithm according to RFC 6238.
- TRANSPORT - Enum constant in enum class io.getlime.security.powerauth.crypto.lib.enums.PowerAuthDerivedKey
-
Value related to the master transport key, value = 1000
U
- update(byte[], int, int) - Method in class io.getlime.security.powerauth.crypto.lib.util.CRC16
-
Update the CRC-16 checksum with specified array of bytes.
- update(int) - Method in class io.getlime.security.powerauth.crypto.lib.util.CRC16
-
Update the CRC-16 checksum with the specified byte (the low eight bits of the argument b).
- UPGRADE - Enum constant in enum class io.getlime.security.powerauth.crypto.lib.encryptor.model.EncryptorId
-
Upgrade protocol encryption.
V
- validate(ECCurve, ECPoint) - Method in class io.getlime.security.powerauth.crypto.lib.util.PublicKeyValidator
-
Validate the public key: check that the EC point is not the point at infinity check that point order matches the order defined in EC curve
- validateActivationCode(String) - Method in class io.getlime.security.powerauth.crypto.lib.generator.IdentifierGenerator
-
Validate activation code using CRC-16 checksum.
- validateECDSASignature(byte[], byte[], PublicKey) - Method in class io.getlime.security.powerauth.crypto.lib.util.SignatureUtils
-
Validate an ECDSA signature against given data using a public key.
- validateEncryptedRequest(EncryptedRequest) - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.EciesRequestResponseValidator
- validateEncryptedRequest(EncryptedRequest) - Method in interface io.getlime.security.powerauth.crypto.lib.encryptor.RequestResponseValidator
-
Test whether encrypted request contains valid data.
- validateEncryptedResponse(EncryptedResponse) - Method in class io.getlime.security.powerauth.crypto.lib.encryptor.ecies.EciesRequestResponseValidator
- validateEncryptedResponse(EncryptedResponse) - Method in interface io.getlime.security.powerauth.crypto.lib.encryptor.RequestResponseValidator
-
Test whether encrypted response contains valid data.
- validatePowerAuthSignature(byte[], String, List<SecretKey>, byte[], SignatureConfiguration) - Method in class io.getlime.security.powerauth.crypto.lib.util.SignatureUtils
-
Validate the PowerAuth signature for given data using provided keys.
- validateTokenDigest(byte[], byte[], String, byte[], byte[]) - Method in class io.getlime.security.powerauth.crypto.lib.util.TokenUtils
-
Validate provided token digest for given input data and provided token secret.
- validateTokenDigest(byte[], byte[], String, byte[], byte[]) - Method in class io.getlime.security.powerauth.crypto.server.token.ServerTokenVerifier
-
Validate provided token digest for given input data and provided token secret.
- validateTotpSha256(byte[], byte[], Instant, int) - Static method in class io.getlime.security.powerauth.crypto.lib.totp.Totp
-
Validate a TOTP value for the given set of parameters using HmacSHA256 algorithm.
- validateTotpSha256(byte[], byte[], Instant, int, int, Duration) - Static method in class io.getlime.security.powerauth.crypto.lib.totp.Totp
-
Validate a TOTP value for the given set of parameters using HmacSHA256 algorithm.
- validateTotpSha512(byte[], byte[], Instant, int) - Static method in class io.getlime.security.powerauth.crypto.lib.totp.Totp
-
Validate a TOTP value for the given set of parameters using HmacSHA512 algorithm.
- validateTotpSha512(byte[], byte[], Instant, int, int, Duration) - Static method in class io.getlime.security.powerauth.crypto.lib.totp.Totp
-
Validate a TOTP value for the given set of parameters using HmacSHA512 algorithm.
- value() - Method in enum class io.getlime.security.powerauth.crypto.lib.encryptor.model.EncryptorId
-
Get identifier's value.
- valueOf(long) - Static method in enum class io.getlime.security.powerauth.crypto.lib.enums.PowerAuthDerivedKey
-
Get enum instance from long value.
- valueOf(String) - Static method in enum class io.getlime.security.powerauth.crypto.lib.encryptor.model.EncryptorId
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.getlime.security.powerauth.crypto.lib.encryptor.model.EncryptorScope
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.getlime.security.powerauth.crypto.lib.enums.PowerAuthDerivedKey
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.getlime.security.powerauth.crypto.lib.enums.PowerAuthSignatureFormat
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.getlime.security.powerauth.crypto.lib.enums.PowerAuthSignatureTypes
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.getlime.security.powerauth.crypto.lib.model.ActivationVersion
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.getlime.security.powerauth.crypto.lib.encryptor.model.EncryptorId
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.getlime.security.powerauth.crypto.lib.encryptor.model.EncryptorScope
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.getlime.security.powerauth.crypto.lib.enums.PowerAuthDerivedKey
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.getlime.security.powerauth.crypto.lib.enums.PowerAuthSignatureFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.getlime.security.powerauth.crypto.lib.enums.PowerAuthSignatureTypes
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.getlime.security.powerauth.crypto.lib.model.ActivationVersion
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VAULT_UNLOCK - Enum constant in enum class io.getlime.security.powerauth.crypto.lib.encryptor.model.EncryptorId
-
Vault unlock encryption.
- verify(byte[], String) - Static method in class io.getlime.security.powerauth.crypto.lib.util.PasswordHash
-
Verify password hash for specified password and password hash in Modular Crypt Format.
- verifyActivationCodeSignature(String, byte[], PublicKey) - Method in class io.getlime.security.powerauth.crypto.client.activation.PowerAuthClientActivation
-
Verify the signature of activation code using Master Public Key.
- verifyHashForHashBasedCounter(byte[], byte[], SecretKey) - Method in class io.getlime.security.powerauth.crypto.client.activation.PowerAuthClientActivation
-
Verify whether client's value of hash based counter is equal to the value received from the server.
- verifyHashForHashBasedCounter(byte[], byte[], SecretKey) - Method in class io.getlime.security.powerauth.crypto.lib.util.HashBasedCounterUtils
-
Verify whether client's value of hash based counter is equal to the value received from the server.
- verifyServerDataSignature(String, byte[], byte[], PublicKey) - Method in class io.getlime.security.powerauth.crypto.client.activation.PowerAuthClientActivation
-
Verify signature of the encrypted activation ID and server public key using a Master Public Key.
- verifySignatureForData(byte[], String, List<SecretKey>, byte[], SignatureConfiguration) - Method in class io.getlime.security.powerauth.crypto.server.signature.PowerAuthServerSignature
-
Verify a PowerAuth signature against data using signature key list and counter.
- VERSION_2 - Enum constant in enum class io.getlime.security.powerauth.crypto.lib.model.ActivationVersion
-
Version 2.
- VERSION_3 - Enum constant in enum class io.getlime.security.powerauth.crypto.lib.model.ActivationVersion
-
Version 3.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form