|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.abdera.security.util.SecurityBase
org.apache.abdera.security.util.EncryptionBase
org.apache.abdera.security.xmlsec.XmlEncryption
public class XmlEncryption
Field Summary |
---|
Fields inherited from class org.apache.abdera.security.util.SecurityBase |
---|
abdera |
Constructor Summary | |
---|---|
XmlEncryption()
|
|
XmlEncryption(Abdera abdera)
|
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 |
Methods inherited from class org.apache.abdera.security.util.EncryptionBase |
---|
isEncrypted |
Methods inherited from class org.apache.abdera.security.util.SecurityBase |
---|
domToFom, domToFom, fomToDom, fomToDom, getAbdera |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlEncryption()
public XmlEncryption(Abdera abdera)
Method Detail |
---|
public Document encrypt(Document doc, EncryptionOptions options) throws SecurityException
Encryption
doc
- The document to encryptoptions
- The encryption options
SecurityException
- if the encryption failedpublic Document decrypt(Document doc, EncryptionOptions options) throws SecurityException
Encryption
doc
- The document to decryptoptions
- The decryption options
SecurityException
- if the decryption failedpublic EncryptionOptions getDefaultEncryptionOptions()
Encryption
EncryptionOptions
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |