com.ibm.websphere.wssecurity.wssapi.decryption

Interface WSSDecryptPart


  1. public interface WSSDecryptPart
This interface is responsible for specifing decrypted parts. There is the value to set as default.
See Also:
WSSDecryption

Field Summary

Modifier and Type Field and Description
  1. static
  2. 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

Modifier and Type Method and Description
  1. void
addRequiredTransform(java.lang.String algorithm)
Adds the transform method.
  1. void
setRequiredDecryptHeader(javax.xml.namespace.QName header)
Sets the header in the SOAP Header, specified by QName, as a decrypted part.
  1. void
setRequiredDecryptPart(int keyword)
  1. void
setRequiredDecryptPart(WSSVerification verification)
Sets the WSSVerification object as a decrypted part.
  1. void
setRequiredDecryptPartByXPath(java.lang.String xpath)
Sets an XPath expression as a decrypted part.

Field Detail

TRANSFORM_ATTACHMENT_CIPHERTEXT

  1. 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:

Method Detail

setRequiredDecryptPart

  1. void setRequiredDecryptPart(int keyword)
  2. throws WSSException
Parameters:
keyword - part to be decrypted
Throws:
WSSException - if the keyword is not valid.

setRequiredDecryptPart

  1. void setRequiredDecryptPart(WSSVerification verification)
Sets the WSSVerification object as a decrypted part.
Parameters:
verification - part to be decrypted

setRequiredDecryptHeader

  1. 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

  1. void setRequiredDecryptPartByXPath( java.lang.String xpath)
Sets an XPath expression as a decrypted part.
Parameters:
xpath - part to be decrypted

addRequiredTransform

  1. void addRequiredTransform(java.lang.String algorithm)
  2. throws WSSException
Adds the transform method.
Parameters:
algorithm - transform algorithm
Throws:
WSSException - if the algorithm is not supported