public abstract class AbstractSignatureService<SP extends AbstractSignatureParameters> extends Object implements DocumentSignatureService<SP>
| Modifier and Type | Field and Description |
|---|---|
protected CertificateVerifier |
certificateVerifier |
protected TSPSource |
tspSource |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSignatureService(CertificateVerifier certificateVerifier)
To construct a signature service the
CertificateVerifier must be set and cannot be null. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertSigningDateInCertificateValidityRange(SP parameters)
This method raises an exception if the signing rules forbid the use on an expired certificate.
|
void |
setTspSource(TSPSource tspSource)
This setter allows to define the TSP (timestamp provider) source.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitextendDocument, getDataToSign, signDocumentprotected TSPSource tspSource
protected final CertificateVerifier certificateVerifier
protected AbstractSignatureService(CertificateVerifier certificateVerifier)
CertificateVerifier must be set and cannot be null.certificateVerifier - CertificateVerifier provides information on the sources to be used in the validation process
in the context of a signature.public void setTspSource(TSPSource tspSource)
DocumentSignatureServicesetTspSource in interface DocumentSignatureService<SP extends AbstractSignatureParameters>tspSource - The time stamp source which is used when timestamping the signature.protected void assertSigningDateInCertificateValidityRange(SP parameters)
parameters - set of driving signing parametersCopyright © 2018. All rights reserved.