public class SignatureConfirmation extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.w3c.dom.Element |
element |
| Constructor and Description |
|---|
SignatureConfirmation(org.w3c.dom.Document doc,
byte[] signVal)
Constructs a
SignatureConfirmation object according
to the defined parameters. |
SignatureConfirmation(org.w3c.dom.Element elem)
Constructs a
SignatureConfirmation object and parses the
wsse11:SignatureCOnfirmation element to initialize it. |
| Modifier and Type | Method and Description |
|---|---|
org.w3c.dom.Element |
getElement()
Returns the dom element of this
Timestamp object. |
String |
getID()
Returns the value of the wsu:Id attribute
|
byte[] |
getSignatureValue() |
void |
setID(String id)
Set wsu:Id attribute of this SignatureConfirmation element.
|
String |
toString()
Returns the string representation of the token.
|
public SignatureConfirmation(org.w3c.dom.Element elem)
throws WSSecurityException
SignatureConfirmation object and parses the
wsse11:SignatureCOnfirmation element to initialize it.elem - the wsse11:SignatureCOnfirmation element that
contains the confirmation dataWSSecurityExceptionpublic SignatureConfirmation(org.w3c.dom.Document doc,
byte[] signVal)
SignatureConfirmation object according
to the defined parameters.doc - the SOAP envelope as DocumentsignVal - the Signature value as byte[] of null
if no value available.public org.w3c.dom.Element getElement()
Timestamp object.wsse:UsernameToken elementpublic String toString()
public void setID(String id)
id - public String getID()
public byte[] getSignatureValue()
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.