Package org.apache.wss4j.common.crypto
Interface PasswordEncryptor
- All Known Implementing Classes:
JasyptPasswordEncryptor
public interface PasswordEncryptor
This interface describes a way to encrypt and decrypt passwords. It allows a way to store
encrypted keystore passwords in Merlin Crypto properties file, that can be decrypted before
loading the keystore, etc.
-
Method Summary
-
Method Details
-
encrypt
Encrypt the given password- Parameters:
password- the password to be encrypted- Returns:
- the encrypted password
-
decrypt
Decrypt the given encrypted password- Parameters:
encryptedPassword- the encrypted password to decrypt- Returns:
- the decrypted password
-