Package | Description |
---|---|
org.xwiki.crypto.password |
Modifier and Type | Method and Description |
---|---|
KeyDerivationFunction |
KeyDerivationFunctionFactory.getInstance(byte[] encoded)
Create a new initialized key derivation function from serialized encoding.
|
KeyDerivationFunction |
KeyDerivationFunctionFactory.getInstance(KeyDerivationFunctionParameters parameters)
Create a new initialized key derivation function from parameters.
|
KeyDerivationFunction |
PasswordBasedCipher.getKeyDerivationFunction() |
Modifier and Type | Method and Description |
---|---|
byte[] |
PrivateKeyPasswordBasedEncryptor.encrypt(String algHint,
SymmetricCipherParameters password,
KeyDerivationFunction function,
PrivateKeyParameters privateKey)
Encrypt a private key using a password based cipher in a PKCS #8 format.
|
PasswordBasedCipher |
PasswordBasedCipherFactory.getInstance(boolean forEncryption,
SymmetricCipherParameters password,
KeyDerivationFunction function)
Create a new initialized password based cipher using the given key derivation function.
|
Copyright © 2004–2021 XWiki. All rights reserved.