public interface WSSDecryptPart
WSSDecryption
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TRANSFORM_ATTACHMENT_CIPHERTEXT
The URI for the transform algorithm, attachment ciphertext:
http://docs.oasis-open.org/wss/oasis-wss-SwAProfile-1.1#Attachment-Ciphertext-Transform.
|
Modifier and Type | Method and Description |
---|---|
void |
addRequiredTransform(java.lang.String algorithm)
Adds the transform method.
|
void |
setRequiredDecryptHeader(javax.xml.namespace.QName header)
Sets the header in the SOAP Header, specified by QName, as a decrypted part.
|
void |
setRequiredDecryptPart(int keyword)
Sets the keyword of decrypted part, WSSDecryption.BODY_CONTENT, WSSDecryption.USERNAME_TOKEN,or WSSDecryption.SIGNATURE.
|
void |
setRequiredDecryptPart(WSSVerification verification)
Sets the WSSVerification object as a decrypted part.
|
void |
setRequiredDecryptPartByXPath(java.lang.String xpath)
Sets an XPath expression as a decrypted part.
|
static final java.lang.String TRANSFORM_ATTACHMENT_CIPHERTEXT
void setRequiredDecryptPart(int keyword) throws WSSException
keyword
- part to be decryptedWSSException
- if the keyword is not valid.void setRequiredDecryptPart(WSSVerification verification)
verification
- part to be decryptedvoid setRequiredDecryptHeader(javax.xml.namespace.QName header)
header
- part to be decryptedvoid setRequiredDecryptPartByXPath(java.lang.String xpath)
xpath
- part to be decryptedvoid addRequiredTransform(java.lang.String algorithm) throws WSSException
algorithm
- transform algorithmWSSException
- if the algorithm is not supported