Package org.opennms.core.config.api
Interface TextEncryptor
-
- All Known Implementing Classes:
TextEncryptorImpl
public interface TextEncryptor
For a given context, encrypt/decrypt text. (alias,password) is stored in SCV as Credentials with the specified alias.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
decrypt(String alias, String encrypted)
Decrypt encrypted for the given contextString
encrypt(String alias, String text)
Encrypt text for the given context
-