|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.abdera.security.xmlsec.XmlSecurityOptions
org.apache.abdera.security.xmlsec.XmlEncryptionOptions
public class XmlEncryptionOptions
| Field Summary |
|---|
| Fields inherited from class org.apache.abdera.security.xmlsec.XmlSecurityOptions |
|---|
abdera, parser |
| Constructor Summary | |
|---|---|
protected |
XmlEncryptionOptions(Abdera abdera)
|
| Method Summary | |
|---|---|
String |
getDataCipherAlgorithm()
Return the cipher algorithm used to decrypt/encrypt the document content The default is "http://www.w3.org/2001/04/xmlenc#aes128-cbc" |
Key |
getDataEncryptionKey()
Return the secret key used to encrypt/decrypt the document content |
String |
getKeyCipherAlgorithm()
Return the cipher algorithm used to decrypt/encrypt the data encryption key The default is "http://www.w3.org/2001/04/xmlenc#kw-aes128" |
Key |
getKeyEncryptionKey()
Return the secret key used to encrypt/decrypt the data encryption key |
boolean |
includeKeyInfo()
Return true if the encryption should include information about the key The default is false |
EncryptionOptions |
setDataCipherAlgorithm(String alg)
Set the cipher algorithm used to decyrpt/encrypt the document content The default is "http://www.w3.org/2001/04/xmlenc#aes128-cbc" |
EncryptionOptions |
setDataEncryptionKey(Key key)
Set the secret key used to encrypt/decrypt the document content |
EncryptionOptions |
setIncludeKeyInfo(boolean includeKeyInfo)
Set whether the encryption should include information about the key The default is false |
EncryptionOptions |
setKeyCipherAlgorithm(String alg)
Set the cipher algorithm used to decrypt/encrypt the data encryption key The default is "http://www.w3.org/2001/04/xmlenc#kw-aes128" |
EncryptionOptions |
setKeyEncryptionKey(Key key)
Set the secret key used to encrypt/decrypt the data encryption key |
| Methods inherited from class org.apache.abdera.security.xmlsec.XmlSecurityOptions |
|---|
getParser, setParser |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.abdera.security.SecurityOptions |
|---|
getParser, setParser |
| Constructor Detail |
|---|
protected XmlEncryptionOptions(Abdera abdera)
| Method Detail |
|---|
public Key getDataEncryptionKey()
EncryptionOptions
getDataEncryptionKey in interface EncryptionOptionspublic EncryptionOptions setDataEncryptionKey(Key key)
EncryptionOptions
setDataEncryptionKey in interface EncryptionOptionspublic Key getKeyEncryptionKey()
EncryptionOptions
getKeyEncryptionKey in interface EncryptionOptionspublic EncryptionOptions setKeyEncryptionKey(Key key)
EncryptionOptions
setKeyEncryptionKey in interface EncryptionOptionspublic String getKeyCipherAlgorithm()
EncryptionOptions
getKeyCipherAlgorithm in interface EncryptionOptionspublic EncryptionOptions setKeyCipherAlgorithm(String alg)
EncryptionOptions
setKeyCipherAlgorithm in interface EncryptionOptionspublic String getDataCipherAlgorithm()
EncryptionOptions
getDataCipherAlgorithm in interface EncryptionOptionspublic EncryptionOptions setDataCipherAlgorithm(String alg)
EncryptionOptions
setDataCipherAlgorithm in interface EncryptionOptionspublic boolean includeKeyInfo()
EncryptionOptions
includeKeyInfo in interface EncryptionOptionspublic EncryptionOptions setIncludeKeyInfo(boolean includeKeyInfo)
EncryptionOptions
setIncludeKeyInfo in interface EncryptionOptions
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||