Package | Description |
---|---|
com.absio.crypto.key |
Modifier and Type | Field and Description |
---|---|
static KeyFileSettings |
KeyFileSettings.DEFAULT
This is the default settings.
|
Modifier and Type | Method and Description |
---|---|
static KeyFileSettings |
KeyFileSettings.getSettings(long version)
Get the settings with the matching version.
|
static KeyFileSettings |
KeyFileSettings.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyFileSettings[] |
KeyFileSettings.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
KeyFileHelper.encrypt(KeyRing keyRing,
String password,
String passphrase,
KeyFileSettings keyFileSettings)
This will PBKDF2 encrypt the
KeyRing using the password (if the helper was created with a MessageDigestAlgorithm the password will first be hashed using that algorithm, hex encoded and changed to
lowercase). |
Copyright © 2021. All rights reserved.