|
|||||||||
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 | |
---|---|
java.lang.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" |
java.security.Key |
getDataEncryptionKey()
Return the secret key used to encrypt/decrypt the document content |
java.lang.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" |
java.security.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 |
void |
setDataCipherAlgorithm(java.lang.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" |
void |
setDataEncryptionKey(java.security.Key key)
Set the secret key used to encrypt/decrypt the document content |
void |
setIncludeKeyInfo(boolean includeKeyInfo)
Set whether the encryption should include information about the key The default is false |
void |
setKeyCipherAlgorithm(java.lang.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" |
void |
setKeyEncryptionKey(java.security.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 |
---|
java.security.Key getDataEncryptionKey()
void setDataEncryptionKey(java.security.Key key)
java.security.Key getKeyEncryptionKey()
void setKeyEncryptionKey(java.security.Key key)
java.lang.String getKeyCipherAlgorithm()
void setKeyCipherAlgorithm(java.lang.String alg)
java.lang.String getDataCipherAlgorithm()
void setDataCipherAlgorithm(java.lang.String alg)
boolean includeKeyInfo()
void setIncludeKeyInfo(boolean includeKeyInfo)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |