C D E G I K O P S V 
All Classes All Packages

C

convert(char[]) - Static method in class org.xwiki.crypto.password.PasswordToByteConverter
Convert password to bytes.
convert(char[], PasswordToByteConverter.ToBytesMode) - Static method in class org.xwiki.crypto.password.PasswordToByteConverter
Convert password to bytes.
convert(String) - Static method in class org.xwiki.crypto.password.PasswordToByteConverter
Convert password to bytes.
convert(String, PasswordToByteConverter.ToBytesMode) - Static method in class org.xwiki.crypto.password.PasswordToByteConverter
Convert password to bytes.

D

decrypt(byte[], byte[]) - Method in interface org.xwiki.crypto.password.PrivateKeyPasswordBasedEncryptor
Decrypt a private key from an encoded byte array.
decrypt(byte[], EncryptedPrivateKeyInfo) - Method in interface org.xwiki.crypto.password.PrivateKeyPasswordBasedEncryptor
Decrypt a private key from an EncryptedPrivateKeyInfo.
derive(byte[]) - Method in interface org.xwiki.crypto.password.KeyDerivationFunction
Derive a key from the provided password.
derive(byte[], int) - Method in interface org.xwiki.crypto.password.KeyDerivationFunction
Derive a key and an initialization vector of the requested size from the provided password.

E

encrypt(byte[], PrivateKeyParameters) - Method in interface org.xwiki.crypto.password.PrivateKeyPasswordBasedEncryptor
Encrypt a private key using a AES 256 password based cipher in a PKCS #8 format.
encrypt(String, byte[], byte[], PrivateKeyParameters) - Method in interface org.xwiki.crypto.password.PrivateKeyPasswordBasedEncryptor
Encrypt a private key using a password based cipher in a PKCS #8 format.
encrypt(String, byte[], KeyDerivationFunctionParameters, PrivateKeyParameters) - Method in interface org.xwiki.crypto.password.PrivateKeyPasswordBasedEncryptor
Encrypt a private key in a PKCS #8 format using a random initialization vector.
encrypt(String, SymmetricCipherParameters, KeyDerivationFunction, PrivateKeyParameters) - Method in interface org.xwiki.crypto.password.PrivateKeyPasswordBasedEncryptor
Encrypt a private key using a password based cipher in a PKCS #8 format.
encrypt(String, SymmetricCipherParameters, KeyDerivationFunctionParameters, PrivateKeyParameters) - Method in interface org.xwiki.crypto.password.PrivateKeyPasswordBasedEncryptor
Encrypt a private key using a password based cipher in a PKCS #8 format.
encrypt(PasswordBasedCipher, PrivateKeyParameters) - Method in interface org.xwiki.crypto.password.PrivateKeyPasswordBasedEncryptor
Encrypt a private key using a password based cipher in a PKCS #8 format.

G

getAlgorithmName() - Method in class org.xwiki.crypto.password.params.KeyDerivationFunctionParameters
 
getAlgorithmName() - Method in class org.xwiki.crypto.password.params.PBKDF2Parameters
 
getAlgorithmName() - Method in class org.xwiki.crypto.password.params.ScryptParameters
 
getBlockSize() - Method in class org.xwiki.crypto.password.params.ScryptParameters
 
getCostParameter() - Method in class org.xwiki.crypto.password.params.ScryptParameters
 
getEncoded() - Method in interface org.xwiki.crypto.password.KeyDerivationFunction
Serialize the definition of this key derivation function.
getEncoded() - Method in interface org.xwiki.crypto.password.PasswordBasedCipher
Serialize the definition of this password based cipher.
getInstance(boolean, byte[], byte[]) - Method in interface org.xwiki.crypto.password.PasswordBasedCipherFactory
Create a new initialized password based cipher from serialized encoding.
getInstance(boolean, SymmetricCipherParameters, KeyDerivationFunction) - Method in interface org.xwiki.crypto.password.PasswordBasedCipherFactory
Create a new initialized password based cipher using the given key derivation function.
getInstance(boolean, SymmetricCipherParameters, KeyDerivationFunctionParameters) - Method in interface org.xwiki.crypto.password.PasswordBasedCipherFactory
Create a new initialized password based cipher from parameters.
getInstance(byte[]) - Method in interface org.xwiki.crypto.password.KeyDerivationFunctionFactory
Create a new initialized key derivation function from serialized encoding.
getInstance(KeyDerivationFunctionParameters) - Method in interface org.xwiki.crypto.password.KeyDerivationFunctionFactory
Create a new initialized key derivation function from parameters.
getIterationCount() - Method in class org.xwiki.crypto.password.params.PBKDF2Parameters
 
getKDFAlgorithmName() - Method in interface org.xwiki.crypto.password.KeyDerivationFunctionFactory
 
getKeyDerivationFunction() - Method in interface org.xwiki.crypto.password.PasswordBasedCipher
 
getKeySize() - Method in interface org.xwiki.crypto.password.KeyDerivationFunction
 
getKeySize() - Method in class org.xwiki.crypto.password.params.KeyDerivationFunctionParameters
 
getParallelizationParameter() - Method in class org.xwiki.crypto.password.params.ScryptParameters
 
getParameters() - Method in interface org.xwiki.crypto.password.KeyDerivationFunction
 
getParameters() - Method in interface org.xwiki.crypto.password.PasswordBasedCipher
 
getPseudoRandomFuntionHint() - Method in class org.xwiki.crypto.password.params.PBKDF2Parameters
 
getSalt() - Method in class org.xwiki.crypto.password.params.PBKDF2Parameters
 
getSalt() - Method in class org.xwiki.crypto.password.params.ScryptParameters
 

I

isKeySizeOverwritten() - Method in interface org.xwiki.crypto.password.KeyDerivationFunction
 

K

KeyDerivationFunction - Interface in org.xwiki.crypto.password
Key derivation function from password interface.
KeyDerivationFunctionFactory - Interface in org.xwiki.crypto.password
Factory for Key Derivation Function.
KeyDerivationFunctionParameters - Class in org.xwiki.crypto.password.params
Key derivation function parameters.
KeyDerivationFunctionParameters() - Constructor for class org.xwiki.crypto.password.params.KeyDerivationFunctionParameters
Initialise parameters with default values.
KeyDerivationFunctionParameters(int) - Constructor for class org.xwiki.crypto.password.params.KeyDerivationFunctionParameters
Initialise parameters with a key length and default randomized values.

O

org.xwiki.crypto.password - package org.xwiki.crypto.password
 
org.xwiki.crypto.password.params - package org.xwiki.crypto.password.params
 
overrideKeySize(int) - Method in interface org.xwiki.crypto.password.KeyDerivationFunction
Override the key size receive from the factory.

P

PasswordBasedCipher - Interface in org.xwiki.crypto.password
Password based cipher.
PasswordBasedCipherFactory - Interface in org.xwiki.crypto.password
Factory creating block ciphers for encryption and decryption that use a password to derive their keys (and initialization vector when that one is not provided).
PasswordToByteConverter - Class in org.xwiki.crypto.password
Helper class to convert password/passphrase to bytes arrays.
PasswordToByteConverter.ToBytesMode - Enum in org.xwiki.crypto.password
Conversion mode of password from String to byte array.
PBKDF2Parameters - Class in org.xwiki.crypto.password.params
Key derivation function parameters for PBKDF2 functions that use an iteration count and a salt.
PBKDF2Parameters() - Constructor for class org.xwiki.crypto.password.params.PBKDF2Parameters
Initialise parameters with default values.
PBKDF2Parameters(int) - Constructor for class org.xwiki.crypto.password.params.PBKDF2Parameters
Initialise parameters with a key length and default randomized values.
PBKDF2Parameters(int, byte[]) - Constructor for class org.xwiki.crypto.password.params.PBKDF2Parameters
Initialise parameters with a key length, a salt and a randomized iteration count.
PBKDF2Parameters(int, byte[], String) - Constructor for class org.xwiki.crypto.password.params.PBKDF2Parameters
Initialise parameters with a key length, a salt, a pseudo random function and a randomized iteration count.
PBKDF2Parameters(int, byte[], String, SecureRandom) - Constructor for class org.xwiki.crypto.password.params.PBKDF2Parameters
Initialise parameters with a key length, a salt, a pseudo random function and a randomized iteration count.
PBKDF2Parameters(int, byte[], SecureRandom) - Constructor for class org.xwiki.crypto.password.params.PBKDF2Parameters
Initialise parameters with a key length, a salt and a randomized iteration count.
PBKDF2Parameters(int, int) - Constructor for class org.xwiki.crypto.password.params.PBKDF2Parameters
Initialise parameters with a key length, fixed iteration count and a randomized salt.
PBKDF2Parameters(int, int, byte[]) - Constructor for class org.xwiki.crypto.password.params.PBKDF2Parameters
Initialise parameters with a key length, an iteration count and a salt.
PBKDF2Parameters(int, int, byte[], String) - Constructor for class org.xwiki.crypto.password.params.PBKDF2Parameters
Initialise parameters with a key length, an iteration count and a salt.
PBKDF2Parameters(int, int, String) - Constructor for class org.xwiki.crypto.password.params.PBKDF2Parameters
Initialise parameters with a key length, fixed iteration count, a pseudo random function and a randomized salt.
PBKDF2Parameters(int, int, String, SecureRandom) - Constructor for class org.xwiki.crypto.password.params.PBKDF2Parameters
Initialise parameters with a key length, fixed iteration count, a pseudo random function and a randomized salt.
PBKDF2Parameters(int, int, SecureRandom) - Constructor for class org.xwiki.crypto.password.params.PBKDF2Parameters
Initialise parameters with a key length, fixed iteration count and a randomized salt.
PBKDF2Parameters(int, String) - Constructor for class org.xwiki.crypto.password.params.PBKDF2Parameters
Initialise parameters with a key length, a pseudo random function and default randomized values.
PBKDF2Parameters(int, String, SecureRandom) - Constructor for class org.xwiki.crypto.password.params.PBKDF2Parameters
Initialise parameters with a key length, a pseudo random function and default randomized values.
PBKDF2Parameters(int, SecureRandom) - Constructor for class org.xwiki.crypto.password.params.PBKDF2Parameters
Initialise parameters with a key length and default randomized values.
PBKDF2Parameters(String) - Constructor for class org.xwiki.crypto.password.params.PBKDF2Parameters
Initialise parameters with default or random values and the given pseudo random function.
PBKDF2Parameters(String, SecureRandom) - Constructor for class org.xwiki.crypto.password.params.PBKDF2Parameters
Initialise parameters with default or random values and the given pseudo random function.
PBKDF2Parameters(SecureRandom) - Constructor for class org.xwiki.crypto.password.params.PBKDF2Parameters
Initialise parameters with default values.
PKCS12 - org.xwiki.crypto.password.PasswordToByteConverter.ToBytesMode
converts according to the scheme in PKCS12 (unicode, big endian, 2 zero pad bytes at the end).
PKCS5 - org.xwiki.crypto.password.PasswordToByteConverter.ToBytesMode
converts according to the scheme in PKCS5 (ascii, no padding).
PKCS5_UTF8 - org.xwiki.crypto.password.PasswordToByteConverter.ToBytesMode
converts according to the scheme in PKCS5 (UTF-8, no padding).
PrivateKeyPasswordBasedEncryptor - Interface in org.xwiki.crypto.password
Manage encryption of private keys using password based ciphers as defined in PKCS #8.

S

ScryptParameters - Class in org.xwiki.crypto.password.params
Key derivation function parameters for Scrypt functions.
ScryptParameters() - Constructor for class org.xwiki.crypto.password.params.ScryptParameters
Initialize all parameters to default values, using a random salt, a cost parameter of 1024, a parallelization parameter of 1 and a block size of 8.
ScryptParameters(int) - Constructor for class org.xwiki.crypto.password.params.ScryptParameters
Initialize key size and use a random salt, a cost parameter of 1024, a parallelization parameter of 1 and a block size of 8.
ScryptParameters(int, byte[]) - Constructor for class org.xwiki.crypto.password.params.ScryptParameters
Initialize parameters to custom values, a cost parameter of 1024, a parallelization parameter of 1 and a block size of 8.
ScryptParameters(int, int, int) - Constructor for class org.xwiki.crypto.password.params.ScryptParameters
Initialize parameters to custom values, use a random salt and a block size of 8.
ScryptParameters(int, int, int, byte[]) - Constructor for class org.xwiki.crypto.password.params.ScryptParameters
Initialize parameters to custom values and use a block size of 8.
ScryptParameters(int, int, int, int) - Constructor for class org.xwiki.crypto.password.params.ScryptParameters
Initialize all parameters to custom values and use a random salt.
ScryptParameters(int, int, int, int, byte[]) - Constructor for class org.xwiki.crypto.password.params.ScryptParameters
Initialize all parameters to custom values.

V

valueOf(String) - Static method in enum org.xwiki.crypto.password.PasswordToByteConverter.ToBytesMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.xwiki.crypto.password.PasswordToByteConverter.ToBytesMode
Returns an array containing the constants of this enum type, in the order they are declared.
C D E G I K O P S V 
All Classes All Packages