Methods Summary |
---|
public java.lang.String | getId()Returns the optional Id of this XMLSignature .
|
public javax.xml.crypto.dsig.keyinfo.KeyInfo | getKeyInfo()Returns the key info of this XMLSignature .
|
public javax.xml.crypto.KeySelectorResult | getKeySelectorResult()Returns the result of the {@link KeySelector}, if specified, after
this XMLSignature has been signed or validated.
|
public java.util.List | getObjects()Returns an {@link java.util.Collections#unmodifiableList unmodifiable
list} of {@link XMLObject}s contained in this XMLSignature .
|
public javax.xml.crypto.dsig.XMLSignature$SignatureValue | getSignatureValue()Returns the signature value of this XMLSignature .
|
public javax.xml.crypto.dsig.SignedInfo | getSignedInfo()Returns the signed info of this XMLSignature .
|
public void | sign(javax.xml.crypto.dsig.XMLSignContext signContext)Signs this XMLSignature .
If this method throws an exception, this XMLSignature and
the signContext parameter will be left in the state that
it was in prior to the invocation.
|
public boolean | validate(javax.xml.crypto.dsig.XMLValidateContext validateContext)Validates the signature according to the
core validation processing rules. This method validates the
signature using the existing state, it does not unmarshal and
reinitialize the contents of the XMLSignature using the
location information specified in the context.
This method only validates the signature the first time it is
invoked. On subsequent invocations, it returns a cached result.
|