Package | Description |
---|---|
com.absio.crypto.cipher | |
com.absio.crypto.ecc | |
com.absio.crypto.kdf | |
com.absio.crypto.key |
Modifier and Type | Field and Description |
---|---|
static AESKeyStrength |
AESKeyStrength.DEFAULT
The default AES key strength Absio uses is 256 bit.
|
Modifier and Type | Method and Description |
---|---|
static AESKeyStrength |
AESKeyStrength.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AESKeyStrength[] |
AESKeyStrength.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
CipherHelper.generateKey(AESKeyStrength keyStrength)
This will generate a symmetric key using the given
AESKeyStrength for determining the size. |
Modifier and Type | Method and Description |
---|---|
AESKeyStrength |
ECCHelper.getKeyStrength()
This is the
AESKeyStrength used in when generating an ECDH shared key. |
Constructor and Description |
---|
ECCHelper(EllipticCurve curve,
AESKeyStrength keyStrength)
Constructor that will create a helper that uses the defined
EllipticCurve and AES Key Strength. |
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 |
---|---|
AESKeyStrength |
KeyFileSettings.getKeyStrength()
Get the
AESKeyStrength to use for the PBKDF2 of the KeyRing to encrypt/decrypt a key file. |
Copyright © 2021. All rights reserved.