|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.retek.rsm.app.security.service.EncryptionUtil
Constructor Summary | |
EncryptionUtil()
|
Method Summary | |
java.lang.String |
decrypt(com.retek.platform.service.ClientContext context,
EncryptedTextVo encryptedPassword)
Returns a decrypted String representation of the passed EncryptedTextVo. |
EncryptedTextVo |
encrypt(com.retek.platform.service.ClientContext context,
java.lang.String cleartext,
PublicKeyEncryptionStrategyVo publicKeyEncryptionStrategy)
Returns an instance of EncryptedTextVo , a value object the is an encrypted
representation of the passed in data and the algorithm/encryption key. |
PublicKeyEncryptionStrategyVo |
getClientEncryptionStrategy(PublicKeyEncryptionStrategyVo serverEncryptionStrategy)
Returns an instance of PublicKeyEncrytpionStrategyVo , a value object that represents
the public key, algorithm and encryption provider being used by the CLIENT. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EncryptionUtil()
Method Detail |
public EncryptedTextVo encrypt(com.retek.platform.service.ClientContext context, java.lang.String cleartext, PublicKeyEncryptionStrategyVo publicKeyEncryptionStrategy)
EncryptedTextVo
, a value object the is an encrypted
representation of the passed in data and the algorithm/encryption key.
context
- A ClientContextcleartext
- String of unencrypted datapublicKeyEncryptionStrategy
- A PublicKeyEncryptionStrategyVo that contains info on how to encrypt.
public java.lang.String decrypt(com.retek.platform.service.ClientContext context, EncryptedTextVo encryptedPassword)
context
- A ClientContext
public PublicKeyEncryptionStrategyVo getClientEncryptionStrategy(PublicKeyEncryptionStrategyVo serverEncryptionStrategy)
PublicKeyEncrytpionStrategyVo
, a value object that represents
the public key, algorithm and encryption provider being used by the CLIENT.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |