Methods Summary |
---|
public byte[] | getCalculatedDigestValue()Returns the calculated digest value of this Reference
after a validation operation. This method is useful for debugging if
the reference fails to validate.
|
public javax.xml.crypto.Data | getDereferencedData()Returns the dereferenced data, if
reference caching
is enabled. This is the result of dereferencing the URI of this
reference during a validation or generation operation.
|
public java.io.InputStream | getDigestInputStream()Returns the pre-digested input stream, if
reference caching
is enabled. This is the input to the digest operation during a
validation or signing operation.
|
public javax.xml.crypto.dsig.DigestMethod | getDigestMethod()Returns the digest method of this Reference .
|
public byte[] | getDigestValue()Returns the digest value of this Reference .
|
public java.lang.String | getId()Returns the optional Id attribute of this
Reference , which permits this reference to be
referenced from elsewhere.
|
public java.util.List | getTransforms()Returns an {@link java.util.Collections#unmodifiableList unmodifiable
list} of {@link Transform}s that are contained in this
Reference .
|
public boolean | validate(javax.xml.crypto.dsig.XMLValidateContext validateContext)Validates this reference. This method verifies the digest of this
reference.
This method only validates the reference the first time it is
invoked. On subsequent invocations, it returns a cached result.
|