|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertyValueSecurity
Helper to en- and decrypt property values.
Method Summary | |
---|---|
String |
decrypt(PropertyDescriptor descriptor, String encryptedValue) Decrypts the given property value. |
String |
encrypt(PropertyDescriptor descriptor, String plainValue) Encrypts the given property value. |
Method Detail |
---|
String decrypt(PropertyDescriptor descriptor, String encryptedValue) throws NullPointerException, SecurityException
descriptor
- the descriptor of the property.
encryptedValue
- the encrypted value of the property to be decrypted.
NullPointerException
- may be thrown if
descriptor
is
null
.
SecurityException
- if the value cannot be decrypted.
String encrypt(PropertyDescriptor descriptor, String plainValue) throws NullPointerException, SecurityException
descriptor
- the descriptor of the property.
plainValue
- the plain value of the property to be encrypted.
NullPointerException
- may be thrown if
descriptor
is
null
.
SecurityException
- if the value cannot be encrypted.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |