Package | Description |
---|---|
com.absio.container | |
com.absio.crypto.kdf | |
com.absio.crypto.key | |
com.absio.crypto.mac |
Modifier and Type | Method and Description |
---|---|
MacAlgorithm |
Keys.getMacAlgorithm()
Get the mac algorithm to use when creating or verifying a digest with the mac key.
|
Constructor and Description |
---|
Keys(CipherTransformation cipherTransformation,
byte[] cipherKey,
MacAlgorithm macAlgorithm,
byte[] macKey)
Create a keys object using the parameters.
|
Constructor and Description |
---|
PBKDF2(MacAlgorithm macAlgorithm,
AESKeyStrength keyStrength,
String encoding)
Create an instance with the given
MacAlgorithm , AESKeyStrength and encoding. |
PBKDF2Helper(MacAlgorithm macAlgorithm,
CipherTransformation transformation,
AESKeyStrength keyStrength,
String encoding)
This will create a helper with the given settings for key generation and encryption.
|
Modifier and Type | Method and Description |
---|---|
MacAlgorithm |
KeyFileSettings.getMacAlgorithm()
Get the
MacAlgorithm to use for the PBKDF2 of the KeyRing to encrypt/decrypt a key file. |
Modifier and Type | Field and Description |
---|---|
static MacAlgorithm |
MacAlgorithm.DEFAULT
The default MAC algorithm is HMACSHA384.
|
Modifier and Type | Method and Description |
---|---|
static MacAlgorithm |
MacAlgorithm.getByIndex(long index)
Gets the algorithm by index.
|
static MacAlgorithm |
MacAlgorithm.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MacAlgorithm[] |
MacAlgorithm.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
MacHelper(MacAlgorithm algorithm)
Constructor that creates a helper that uses the provided algorithm.
|
Copyright © 2021. All rights reserved.