|
||||||||||
| 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 Element |
element
|
static String |
SC_VALUE_ATTR
|
| Constructor Summary | |
|---|---|
SignatureConfirmation(Document doc,
byte[] signVal)
Constructs a SignatureConfirmation object according
to the defined parameters. |
|
SignatureConfirmation(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(Object object)
|
Element |
getElement()
Returns the dom element of this SignatureConfirmation object. |
String |
getID()
Returns the value of the wsu:Id attribute |
byte[] |
getSignatureValue()
|
int |
hashCode()
|
void |
setID(String id)
Set wsu:Id attribute of this SignatureConfirmation element. |
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 String SC_VALUE_ATTR
protected Element element
| Constructor Detail |
|---|
public SignatureConfirmation(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(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 Element getElement()
SignatureConfirmation object.
wsse11:SignatureConfirmation elementpublic String toString()
toString in class Objectpublic void setID(String id)
id - public String getID()
public byte[] getSignatureValue()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object object)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||