public class NoEncryptionEncryptionServiceImpl extends Object implements EncryptionService
ENCRYPTION_POST_PREFIX, HASH_POST_PREFIX| Constructor and Description |
|---|
NoEncryptionEncryptionServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
decrypt(String ciphertext)
Decrypts a value
|
byte[] |
decryptBytes(byte[] ciphertext)
This overridden method ...
|
String |
encrypt(Object valueToHide)
Encrypts a value
|
byte[] |
encryptBytes(byte[] valueToHide)
This overridden method ...
|
String |
hash(Object valueToHide)
Hashes a value (for one-way transformations)
|
boolean |
isEnabled()
Returns true if encryption is enabled within KEW, false otherwise.
|
public NoEncryptionEncryptionServiceImpl()
public boolean isEnabled()
EncryptionServiceisEnabled in interface EncryptionServiceorg.kuali.rice.ksb.security.EncryptionService#isEnabled()public String encrypt(Object valueToHide) throws GeneralSecurityException
EncryptionServiceencrypt in interface EncryptionServicevalueToHide - - original valueGeneralSecurityExceptionpublic String decrypt(String ciphertext) throws GeneralSecurityException
EncryptionServicedecrypt in interface EncryptionServiceciphertext - - encrypted valueGeneralSecurityExceptionpublic String hash(Object valueToHide) throws GeneralSecurityException
EncryptionServicehash in interface EncryptionServicevalueToHide - - original valueGeneralSecurityExceptionpublic byte[] decryptBytes(byte[] ciphertext) throws GeneralSecurityException
decryptBytes in interface EncryptionServiceciphertext - - encrypted valueGeneralSecurityExceptionEncryptionService.decryptBytes(byte[])public byte[] encryptBytes(byte[] valueToHide) throws GeneralSecurityException
encryptBytes in interface EncryptionServicevalueToHide - - original valueGeneralSecurityExceptionEncryptionService.encryptBytes(byte[])Copyright © 2005–2016 The Kuali Foundation. All rights reserved.