com.ibm.websphere.wssecurity.wssapi.decryption
Interface WSSDecryptPart
-
public interface WSSDecryptPart
This interface is responsible for specifing decrypted parts. There is the value to set as default.- transform method
- n/a
- See Also:
WSSDecryption
- transform method
-
-
Field Summary
Fields 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.
-
Method Summary
Methods 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.
-
-
-
Field Detail
-
TRANSFORM_ATTACHMENT_CIPHERTEXT
static final 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.- See Also:
- Constant Field Values
-
-
Method Detail
-
setRequiredDecryptPart
void setRequiredDecryptPart(int keyword) throws WSSException
Sets the keyword of decrypted part, WSSDecryption.BODY_CONTENT, WSSDecryption.USERNAME_TOKEN,or WSSDecryption.SIGNATURE.- Parameters:
keyword
- part to be decrypted- Throws:
WSSException
- if the keyword is not valid.
-
setRequiredDecryptPart
void setRequiredDecryptPart(WSSVerification verification)
Sets the WSSVerification object as a decrypted part.- Parameters:
verification
- part to be decrypted
-
setRequiredDecryptHeader
void setRequiredDecryptHeader(javax.xml.namespace.QName header)
Sets the header in the SOAP Header, specified by QName, as a decrypted part.- Parameters:
header
- part to be decrypted
-
setRequiredDecryptPartByXPath
void setRequiredDecryptPartByXPath(java.lang.String xpath)
Sets an XPath expression as a decrypted part.- Parameters:
xpath
- part to be decrypted
-
addRequiredTransform
void addRequiredTransform(java.lang.String algorithm) throws WSSException
Adds the transform method.- Parameters:
algorithm
- transform algorithm- Throws:
WSSException
- if the algorithm is not supported
-
-