public class TSLCertificateSourceImpl extends eu.europa.esig.dss.spi.tsl.TrustedListsCertificateSource implements TSLCertificateSource
Modifier and Type | Field and Description |
---|---|
static String |
FOR_ESIGNATURES
Deprecated.
Deprecated for removal. Use
AdditionalServiceInformation.FOR_ESIGNATURES instead. |
static String |
OID_TIMESTAMPING |
Constructor and Description |
---|
TSLCertificateSourceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addTSLCertificate(X509Certificate certificate)
Add a certificate to the TSL
ServiceName will be the certificate's CN field value
ServiceTypeIdentifier will be: http://uri.etsi.org/TrstSvc/Svctype/Certstatus/OCSP/QC - if certificate contains "OCSPSigning" extended key usage http://uri.etsi.org/TrstSvc/Svctype/TSA/QTST - if certificate contains "timeStamping" extended key usage http://uri.etsi.org/TrstSvc/Svctype/CA/QC - otherwise Qualifier will be: Certificate's NotBefore pre Eidas -> http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCWithSSCD with nonRepudiation Certificate's NotBefore post Eidas -> http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCWithQSCD with nonRepudiation ServiceStatus will be: Certificate's NotBefore pre Eidas -> http://uri.etsi.org/TrstSvc/TrustedList/Svcstatus/undersupervision Certificate's NotBefore post Eidas -> http://uri.etsi.org/TrstSvc/TrustedList/Svcstatus/granted |
eu.europa.esig.dss.spi.tsl.TLValidationJobSummary |
getSummary() |
void |
invalidateCache()
Invalidates cache
|
void |
refresh() |
addCertificate, addCertificate, getAlternativeCRLUrls, getAlternativeOCSPUrls, getCertificateSourceType, getNumberOfTrustedPublicKeys, getTrustServices, setSummary, setTrustPropertiesByCertificates
importAsTrusted, isTrusted
findTokensFromCertRef, getByCertificateDigest, getByPublicKey, getBySignerIdentifier, getBySki, getBySubject, getCertificates, getEntities, getNumberOfCertificates, getNumberOfEntities, isAllSelfSigned, isCertificateSourceEqual, isCertificateSourceEquivalent, isKnown
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addCertificate, getCertificates, getNumberOfCertificates, getNumberOfTrustedPublicKeys, getTrustServices
addCertificate, findTokensFromCertRef, getByCertificateDigest, getByPublicKey, getBySignerIdentifier, getBySki, getBySubject, getCertificateSourceType, getEntities, isAllSelfSigned, isCertificateSourceEqual, isCertificateSourceEquivalent, isKnown, isTrusted
public static final String OID_TIMESTAMPING
@Deprecated public static final String FOR_ESIGNATURES
AdditionalServiceInformation.FOR_ESIGNATURES
instead.public void addTSLCertificate(X509Certificate certificate)
addTSLCertificate
in interface TSLCertificateSource
certificate
- X509 certificate to be added to the listpublic void invalidateCache()
Only applicable when cache is used.
invalidateCache
in interface TSLCertificateSource
public eu.europa.esig.dss.spi.tsl.TLValidationJobSummary getSummary()
getSummary
in interface TSLCertificateSource
getSummary
in class eu.europa.esig.dss.spi.tsl.TrustedListsCertificateSource
public void refresh()
refresh
in interface TSLCertificateSource
Copyright © 2024. All rights reserved.