Class SignatureConfirmation
java.lang.Object
org.apache.ws.security.message.token.SignatureConfirmation
Signature Confirmation element.
- Author:
- Werner Dittmann (Werner.Dittmann@t-online.de)
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSignatureConfirmation(Document doc, byte[] signVal) Constructs aSignatureConfirmationobject according to the defined parameters.SignatureConfirmation(Element elem) Constructs aSignatureConfirmationobject and parses thewsse11:SignatureCOnfirmationelement to initialize it. -
Method Summary
-
Field Details
-
element
-
-
Constructor Details
-
SignatureConfirmation
Constructs aSignatureConfirmationobject and parses thewsse11:SignatureCOnfirmationelement to initialize it.- Parameters:
elem- thewsse11:SignatureCOnfirmationelement that contains the confirmation data- Throws:
WSSecurityException
-
SignatureConfirmation
Constructs aSignatureConfirmationobject according to the defined parameters.- Parameters:
doc- the SOAP envelope asDocumentsignVal- the Signature value as byte[] ofnullif no value available.
-
-
Method Details
-
getElement
Returns the dom element of thisTimestampobject.- Returns:
- the
wsse:UsernameTokenelement
-
toString
-
setID
Set wsu:Id attribute of this SignatureConfirmation element.- Parameters:
id-
-
getID
-
getSignatureValue
public byte[] getSignatureValue()- Returns:
- Returns the signatureValue.
-