public class SignatureConfirmation extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SC_VALUE_ATTR |
Constructor and Description |
---|
SignatureConfirmation(Document doc,
byte[] signVal)
Constructs a
SignatureConfirmation object according
to the defined parameters. |
SignatureConfirmation(Element elem,
BSPEnforcer bspEnforcer)
Constructs a
SignatureConfirmation object and parses the
wsse11:SignatureConfirmation element to initialize it. |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final String SC_VALUE_ATTR
public SignatureConfirmation(Element elem, BSPEnforcer bspEnforcer) throws WSSecurityException
SignatureConfirmation
object and parses the
wsse11:SignatureConfirmation
element to initialize it.elem
- the wsse11:SignatureCOnfirmation
element that
contains the confirmation databspEnforcer
- a BSPEnforcer instance used to enforce BSP rulesWSSecurityException
public SignatureConfirmation(Document doc, byte[] signVal)
SignatureConfirmation
object according
to the defined parameters.doc
- the SOAP envelope as Document
signVal
- the Signature value as byte[] of null
if no value available.public void addWSUNamespace()
public Element getElement()
SignatureConfirmation
object.wsse11:SignatureConfirmation
elementpublic String toString()
public void setID(String id)
id
- public String getID()
public byte[] getSignatureValue()
Copyright © 2017 JBoss by Red Hat. All rights reserved.