|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PlexusCipher
Field Summary | |
---|---|
static char |
ENCRYPTED_STRING_DECORATION_START
|
static char |
ENCRYPTED_STRING_DECORATION_STOP
|
Method Summary | |
---|---|
String |
decorate(String str)
decorated given string with { and } |
String |
decrypt(String str,
String passPhrase)
decrypt given base64 encrypted string |
String |
decryptDecorated(String str,
String passPhrase)
decrypt given base64 encoded encrypted string. |
String |
encrypt(String str,
String passPhrase)
encrypt given string with the given passPhrase and encode it into base64 |
String |
encryptAndDecorate(String str,
String passPhrase)
encrypt given string with the given passPhrase, encode it into base64 and return result, wrapped into { } decorations |
boolean |
isEncryptedString(String str)
check if given string is decorated |
String |
unDecorate(String str)
return string inside decorations |
Field Detail |
---|
static final char ENCRYPTED_STRING_DECORATION_START
static final char ENCRYPTED_STRING_DECORATION_STOP
Method Detail |
---|
String encrypt(String str, String passPhrase) throws PlexusCipherException
str
- passPhrase
-
PlexusCipherException
String encryptAndDecorate(String str, String passPhrase) throws PlexusCipherException
str
- passPhrase
-
PlexusCipherException
String decrypt(String str, String passPhrase) throws PlexusCipherException
str
- passPhrase
-
PlexusCipherException
String decryptDecorated(String str, String passPhrase) throws PlexusCipherException
str
- passPhrase
-
PlexusCipherException
boolean isEncryptedString(String str)
str
-
String unDecorate(String str) throws PlexusCipherException
str
-
PlexusCipherException
String decorate(String str)
str
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |