| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Encryption
Interface used for encrypting/decrypting Abdera documents.
| Method Summary | |
|---|---|
|  Document | decrypt(Document doc,
        EncryptionOptions options)Decrypt the document using the specified options | 
|  Document | encrypt(Document doc,
        EncryptionOptions options)Encrypt the document using the specified options | 
|  EncryptionOptions | getDefaultEncryptionOptions()Returns the default encryption/decryption options | 
|  boolean | isEncrypted(Document doc)Returns true if this specified document has been encrypted | 
| Method Detail | 
|---|
Document encrypt(Document doc,
                 EncryptionOptions options)
                 throws SecurityException
doc - The document to encryptoptions - The encryption options
SecurityException - if the encryption failed
Document decrypt(Document doc,
                 EncryptionOptions options)
                 throws SecurityException
doc - The document to decryptoptions - The decryption options
SecurityException - if the decryption failed
boolean isEncrypted(Document doc)
                    throws SecurityException
SecurityExceptionEncryptionOptions getDefaultEncryptionOptions()
EncryptionOptions| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||