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()
EncryptionService
isEnabled
in interface EncryptionService
org.kuali.rice.ksb.security.EncryptionService#isEnabled()
public String encrypt(Object valueToHide) throws GeneralSecurityException
EncryptionService
encrypt
in interface EncryptionService
valueToHide
- - original valueGeneralSecurityException
public String decrypt(String ciphertext) throws GeneralSecurityException
EncryptionService
decrypt
in interface EncryptionService
ciphertext
- - encrypted valueGeneralSecurityException
public String hash(Object valueToHide) throws GeneralSecurityException
EncryptionService
hash
in interface EncryptionService
valueToHide
- - original valueGeneralSecurityException
public byte[] decryptBytes(byte[] ciphertext) throws GeneralSecurityException
decryptBytes
in interface EncryptionService
ciphertext
- - encrypted valueGeneralSecurityException
EncryptionService.decryptBytes(byte[])
public byte[] encryptBytes(byte[] valueToHide) throws GeneralSecurityException
encryptBytes
in interface EncryptionService
valueToHide
- - original valueGeneralSecurityException
EncryptionService.encryptBytes(byte[])
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.