|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EncryptionOptions
Provides access to the information necessary to encrypt or decrypt a document
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 interface org.apache.abdera.security.SecurityOptions |
---|
getParser, setParser |
Method Detail |
---|
Key getDataEncryptionKey()
EncryptionOptions setDataEncryptionKey(Key key)
Key getKeyEncryptionKey()
EncryptionOptions setKeyEncryptionKey(Key key)
String getKeyCipherAlgorithm()
EncryptionOptions setKeyCipherAlgorithm(String alg)
String getDataCipherAlgorithm()
EncryptionOptions setDataCipherAlgorithm(String alg)
boolean includeKeyInfo()
EncryptionOptions setIncludeKeyInfo(boolean includeKeyInfo)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |