org.apache.abdera.security
Interface Encryption


public interface Encryption


Field Summary
static Encryption INSTANCE
           
 
Method Summary
 Document decrypt(Document doc, EncryptionOptions options)
           
 Document encrypt(Document doc, EncryptionOptions options)
           
 EncryptionOptions getDefaultEncryptionOptions()
           
 boolean isEncrypted(Document doc)
           
 

Field Detail

INSTANCE

static final Encryption INSTANCE
Method Detail

encrypt

Document encrypt(Document doc,
                 EncryptionOptions options)
                 throws SecurityException
Throws:
SecurityException

decrypt

Document decrypt(Document doc,
                 EncryptionOptions options)
                 throws SecurityException
Throws:
SecurityException

isEncrypted

boolean isEncrypted(Document doc)
                    throws SecurityException
Throws:
SecurityException

getDefaultEncryptionOptions

EncryptionOptions getDefaultEncryptionOptions()