|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.core.impl.encryption.NoEncryptionEncryptionServiceImpl
public class NoEncryptionEncryptionServiceImpl
Implementation of encryption service for demonstration.
Field Summary |
---|
Fields inherited from interface org.kuali.rice.core.api.encryption.EncryptionService |
---|
ENCRYPTION_POST_PREFIX, HASH_POST_PREFIX |
Constructor Summary | |
---|---|
NoEncryptionEncryptionServiceImpl()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NoEncryptionEncryptionServiceImpl()
Method Detail |
---|
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 value
GeneralSecurityException
public String decrypt(String ciphertext) throws GeneralSecurityException
EncryptionService
decrypt
in interface EncryptionService
ciphertext
- - encrypted value
GeneralSecurityException
public String hash(Object valueToHide) throws GeneralSecurityException
EncryptionService
hash
in interface EncryptionService
valueToHide
- - original value
GeneralSecurityException
public byte[] decryptBytes(byte[] ciphertext) throws GeneralSecurityException
decryptBytes
in interface EncryptionService
ciphertext
- - encrypted value
GeneralSecurityException
EncryptionService.decryptBytes(byte[])
public byte[] encryptBytes(byte[] valueToHide) throws GeneralSecurityException
encryptBytes
in interface EncryptionService
valueToHide
- - original value
GeneralSecurityException
EncryptionService.encryptBytes(byte[])
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |