|
XML Security, 1.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.xml.crypto.dsig.dom.XMLStructureImpl
com.ibm.xml.crypto.dsig.dom.XMLSignatureImpl.SignatureValueImpl
static class XMLSignatureImpl.SignatureValueImpl
Field Summary | |
---|---|
(package private) XMLSignatureImpl |
parent
|
Fields inherited from class com.ibm.xml.crypto.dsig.dom.XMLStructureImpl |
---|
afactory |
Constructor Summary | |
---|---|
XMLSignatureImpl.SignatureValueImpl(AlgorithmFactory f,
XMLSignatureImpl xsig)
|
Method Summary | |
---|---|
java.lang.String |
getId()
Returns the optional Id attribute of this
SignatureValue , which permits this element to be
referenced from elsewhere. |
byte[] |
getValue()
Returns the signature value of this SignatureValue . |
boolean |
validate(XMLValidateContext vcontext)
Validates the signature value. |
Methods inherited from class com.ibm.xml.crypto.dsig.dom.XMLStructureImpl |
---|
isFeatureSupported |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.xml.crypto.XMLStructure |
---|
isFeatureSupported |
Field Detail |
---|
XMLSignatureImpl parent
Constructor Detail |
---|
XMLSignatureImpl.SignatureValueImpl(AlgorithmFactory f, XMLSignatureImpl xsig)
Method Detail |
---|
public java.lang.String getId()
XMLSignature.SignatureValue
Id
attribute of this
SignatureValue
, which permits this element to be
referenced from elsewhere.
getId
in interface XMLSignature.SignatureValue
Id
attribute (may be null
if
not specified)public byte[] getValue()
XMLSignature.SignatureValue
SignatureValue
.
getValue
in interface XMLSignature.SignatureValue
null
if the
XMLSignature
has not been signed yet). Each
invocation of this method returns a new clone of the array to
prevent subsequent modification.public boolean validate(XMLValidateContext vcontext) throws XMLSignatureException
XMLSignature.SignatureValue
SignedInfo
of the XMLSignature
.
This method only validates the signature the first time it is invoked. On subsequent invocations, it returns a cached result.
validate
in interface XMLSignature.SignatureValue
vcontext
- the validating context
true
if the signature was
validated successfully; false
otherwise
XMLSignatureException
- if an unexpected exception occurs while
validating the signature
|
XML Security, 1.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |