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