public class XmlSignatureExplorer extends SignatureExplorer2
By default, the XML signatures are only inspected but not validated. In order to validate the file, you must call the method setValidate and also the methods regarding signature policies, which specify the parameters for the validation.
acceptableExplicitPolicies, client, defaultSignaturePolicyId, ignoreRevocationStatusUnknown, securityContextId, trustUncertifiedSigningTime, validate| Constructor and Description |
|---|
XmlSignatureExplorer(RestPkiClient client)
Create a new instance using the given RestPkiClient.
|
| Modifier and Type | Method and Description |
|---|---|
XmlIdResolutionTable |
getIdResolutionTable() |
java.util.List<XmlSignature> |
open()
Performs the open signature operation.
|
void |
setIdResolutionTable(XmlIdResolutionTable idResolutionTable) |
fillRequest, getAcceptableExplicitPolicies, getClient, getDefaultSignaturePolicyId, getSecurityContextId, getSignatureFile, isTrustUncertifiedSigningTime, isValidate, setAcceptableExplicitPolicies, setClient, setDefaultSignaturePolicy, setIgnoreRevocationStatusUnknown, setSecurityContext, setSignatureFile, setSignatureFile, setSignatureFile, setSignatureFile, setSignatureFile, setSignatureFile, setTrustUncertifiedSigningTime, setValidatepublic XmlSignatureExplorer(RestPkiClient client)
client - the RestPkiClient which shall be used.public XmlIdResolutionTable getIdResolutionTable()
public void setIdResolutionTable(XmlIdResolutionTable idResolutionTable)
public java.util.List<XmlSignature> open() throws RestException, java.io.IOException
RestException - if an error occurs when calling REST PKI.java.io.IOException - if an error occurs while reading the signature file.