|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drupal.project.async_command.EncryptedFieldAdapter
public class EncryptedFieldAdapter
This class handles encryption through the Encrypted Field Drupal Module. Encryption is used for confidential information. TODO: use Java encryption/decryption library rather than resort to PHP evaluation.
Nested Class Summary | |
---|---|
static class |
EncryptedFieldAdapter.Method
Encryption method. |
Constructor Summary | |
---|---|
EncryptedFieldAdapter(EncryptedFieldAdapter.Method method)
Initialize this adapter. |
|
EncryptedFieldAdapter(EncryptedFieldAdapter.Method method,
java.lang.String secretKey)
Initialize this adapter. |
Method Summary | |
---|---|
java.lang.String |
readContent(java.lang.String encrypted)
Read the original content of the encrypted message. |
java.util.Properties |
readSettings(java.lang.String encrypted)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EncryptedFieldAdapter(EncryptedFieldAdapter.Method method)
method
- EncryptionMethod
public EncryptedFieldAdapter(EncryptedFieldAdapter.Method method, java.lang.String secretKey)
method
- EncryptionMethod
secretKey
- The secret key.Method Detail |
---|
public java.lang.String readContent(java.lang.String encrypted)
encrypted
- Encrypted message to be decrypted.
public java.util.Properties readSettings(java.lang.String encrypted)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |