|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EncryptionService
This is a service interface to consolidate Kuali encryption operation
| Field Summary | |
|---|---|
static String |
ENCRYPTION_POST_PREFIX
|
static String |
HASH_POST_PREFIX
|
| Method Summary | |
|---|---|
String |
decrypt(String ciphertext)
Decrypts a value |
byte[] |
decryptBytes(byte[] ciphertext)
Decrypts a value |
String |
encrypt(Object valueToHide)
Encrypts a value |
byte[] |
encryptBytes(byte[] valueToHide)
Encrypts a value |
String |
hash(Object valueToHide)
Hashes a value (for one-way transformations) |
boolean |
isEnabled()
Returns true if encryption is enabled within KEW, false otherwise. |
| Field Detail |
|---|
static final String ENCRYPTION_POST_PREFIX
static final String HASH_POST_PREFIX
| Method Detail |
|---|
String encrypt(Object valueToHide)
throws GeneralSecurityException
valueToHide - - original value
GeneralSecurityException
byte[] encryptBytes(byte[] valueToHide)
throws GeneralSecurityException
valueToHide - - original value
GeneralSecurityException
String decrypt(String ciphertext)
throws GeneralSecurityException
ciphertext - - encrypted value
GeneralSecurityException
byte[] decryptBytes(byte[] ciphertext)
throws GeneralSecurityException
ciphertext - - encrypted value
GeneralSecurityExceptionboolean isEnabled()
String hash(Object valueToHide)
throws GeneralSecurityException
valueToHide - - original value
GeneralSecurityException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||