|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ws.security.message.token.SignatureConfirmation
public class SignatureConfirmation
Signature Confirmation element.
| Field Summary | |
|---|---|
protected org.w3c.dom.Element |
element
|
static java.lang.String |
SC_VALUE_ATTR
|
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
void |
addWSUNamespace()
Add the WSU Namespace to this SC. |
boolean |
equals(java.lang.Object object)
|
org.w3c.dom.Element |
getElement()
Returns the dom element of this SignatureConfirmation object. |
java.lang.String |
getID()
Returns the value of the wsu:Id attribute |
byte[] |
getSignatureValue()
|
int |
hashCode()
|
void |
setID(java.lang.String id)
Set wsu:Id attribute of this SignatureConfirmation element. |
java.lang.String |
toString()
Returns the string representation of the token. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SC_VALUE_ATTR
protected org.w3c.dom.Element element
| Constructor Detail |
|---|
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 data
WSSecurityException
public 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.| Method Detail |
|---|
public void addWSUNamespace()
public org.w3c.dom.Element getElement()
SignatureConfirmation object.
wsse11:SignatureConfirmation elementpublic java.lang.String toString()
toString in class java.lang.Objectpublic void setID(java.lang.String id)
id - public java.lang.String getID()
public byte[] getSignatureValue()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object object)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||