| Modifier and Type | Class and Description |
|---|---|
static interface |
JolokiaCipher.KeyHolder |
| Modifier and Type | Field and Description |
|---|---|
static String |
JOLOKIA_CYPHER_PASSWORD |
| Constructor and Description |
|---|
JolokiaCipher() |
JolokiaCipher(JolokiaCipher.KeyHolder pKeyHolder) |
public static final String JOLOKIA_CYPHER_PASSWORD
public JolokiaCipher()
throws GeneralSecurityException
GeneralSecurityExceptionpublic JolokiaCipher(JolokiaCipher.KeyHolder pKeyHolder) throws NoSuchAlgorithmException
NoSuchAlgorithmExceptionpublic String encrypt(String pText) throws GeneralSecurityException
pText - text to encodeGeneralSecurityExceptionpublic String decrypt(String pEncryptedText) throws GeneralSecurityException
encrypt(String)pEncryptedText - encrypted textGeneralSecurityException - when decryption failsCopyright © 2016. All rights reserved.