Package org.apache.ws.security.message
Class WSAddSignatureConfirmation
- java.lang.Object
-
- org.apache.ws.security.message.WSBaseMessage
-
- org.apache.ws.security.message.WSAddSignatureConfirmation
-
public class WSAddSignatureConfirmation extends WSBaseMessage
Builds a WS SignatureConfirmation and inserts it into the SOAP Envelope.- Author:
- Werner Dittmann (Werner.Dittmann@t-online.de).
-
-
Field Summary
-
Fields inherited from class org.apache.ws.security.message.WSBaseMessage
actor, doDebug, keyIdentifierType, mustunderstand, parts, password, timeToLive, user, wssConfig
-
-
Constructor Summary
Constructors Constructor Description WSAddSignatureConfirmation()Deprecated.replaced byWSSecSignatureConfirmation()WSAddSignatureConfirmation(java.lang.String actor)Deprecated.replaced byWSSecSignatureConfirmation()andWSSecHeaderfor actor specification.WSAddSignatureConfirmation(java.lang.String actor, boolean mu)Deprecated.replaced byWSSecSignatureConfirmation()andWSSecHeaderfor actor and mustunderstand specification.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.w3c.dom.Documentbuild(org.w3c.dom.Document doc, byte[] sigVal)Deprecated.java.lang.StringgetId()Deprecated.replaced byWSSecSignatureConfirmation.getId()voidsetId(java.lang.String id)Deprecated.no replacement, id is created by default inWSSecSignatureConfirmation-
Methods inherited from class org.apache.ws.security.message.WSBaseMessage
getKeyIdentifierType, insertSecurityHeader, setActor, setBodyID, setKeyIdentifierType, setMustUnderstand, setParts, setTimeToLive, setUserInfo, setWsConfig, setWsuId
-
-
-
-
Constructor Detail
-
WSAddSignatureConfirmation
public WSAddSignatureConfirmation()
Deprecated.replaced byWSSecSignatureConfirmation()Constructor.
-
WSAddSignatureConfirmation
public WSAddSignatureConfirmation(java.lang.String actor)
Deprecated.replaced byWSSecSignatureConfirmation()andWSSecHeaderfor actor specification.Constructor.- Parameters:
actor- the name of the actor of thewsse:Securityheader
-
WSAddSignatureConfirmation
public WSAddSignatureConfirmation(java.lang.String actor, boolean mu)Deprecated.replaced byWSSecSignatureConfirmation()andWSSecHeaderfor actor and mustunderstand specification.Constructor.- Parameters:
actor- The name of the actor of thewsse:Securityheadermu- SetmustUnderstandto true or false
-
-
Method Detail
-
build
public org.w3c.dom.Document build(org.w3c.dom.Document doc, byte[] sigVal)Deprecated.Adds a newSignatureConfirmationto a soap envelope. A completeSignatureConfirmationis constructed and added to thewsse:Securityheader.- Parameters:
doc- The SOAP enevlope as W3C documentsigVal- the Signature value. This will be the content of the "Value" attribute.- Returns:
- Document with SignatureConfirmation added
-
setId
public void setId(java.lang.String id)
Deprecated.no replacement, id is created by default inWSSecSignatureConfirmationSet the wsu:Id value of the SignatureConfirmation- Parameters:
id-
-
getId
public java.lang.String getId()
Deprecated.replaced byWSSecSignatureConfirmation.getId()Get the wsu:Id value of the SignatureConfirmation- Returns:
- Returns the wsu:id value
-
-