|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WSSEncryptPart
This interface is responsible for specifing encrypted parts. There is the value to set as default.
WSSEncryption
Field Summary | |
---|---|
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 | |
---|---|
void |
addTransform(java.lang.String algorithm)
Adds the transform method. |
void |
addTransform(java.lang.String algorithm,
TransformParameterSpec paramSpec)
Adds the transform method. |
void |
setEncryptHeader(javax.xml.namespace.QName header)
Sets the header in the SOAP Header, specified by QName, as an encrypted part. |
void |
setEncryptPart(int keyword)
Sets the keyword as an encrypted part, WSSEncryption.BODY_CONTENT or WSSEncryption.SIGNATURE. |
void |
setEncryptPart(SecurityToken securityToken,
boolean isElement)
Sets the security token as an encryption part. |
void |
setEncryptPart(WSSSignature signature)
Sets the WSSSignature object as an encrypted part. |
void |
setEncryptPartByXPath(java.lang.String xpath)
Sets an XPath expression as an encrypted part. |
Field Detail |
---|
static final java.lang.String TRANSFORM_ATTACHMENT_CIPHERTEXT
Method Detail |
---|
void setEncryptPart(int keyword) throws WSSException
keyword
- part to be encrypted
WSSException
- if the keyword is not valid.void setEncryptPart(WSSSignature signature)
signature
- part to be encryptedvoid setEncryptHeader(javax.xml.namespace.QName header)
header
- part to be encryptedvoid setEncryptPartByXPath(java.lang.String xpath)
xpath
- part to be encryptedvoid addTransform(java.lang.String algorithm, TransformParameterSpec paramSpec) throws WSSException
algorithm
- transform algorithmparamSpec
- specification of algorithm parameters
WSSException
void addTransform(java.lang.String algorithm) throws WSSException
algorithm
- transform algorithm
WSSException
- if the algorithm is not supportedvoid setEncryptPart(SecurityToken securityToken, boolean isElement)
securityToken
- part to be encryptedisElement
- Specifies whether the encrypted part is an element.
If set to true, the encrypted part is an element;
if set to false, the encrypted part is its content only.
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |