|
||||||||||
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 failedDocument decrypt(Document doc, EncryptionOptions options) throws SecurityException
doc
- The document to decryptoptions
- The decryption options
SecurityException
- if the decryption failedboolean isEncrypted(Document doc) throws SecurityException
SecurityException
EncryptionOptions getDefaultEncryptionOptions()
EncryptionOptions
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |