Package eu.europa.esig.dss.model.tsl
Interface TrustPropertiesCertificateSource
- All Known Implementing Classes:
TrustedListsCertificateSource
public interface TrustPropertiesCertificateSource
This interface provides an abstraction for a certificate source containing information about
a validation status of Trusted Lists and corresponding trust properties
-
Method Summary
Modifier and TypeMethodDescriptionGets TL Validation job summarygetTrustServices
(CertificateToken token) Returns TrustProperties for the given certificate, when applicablevoid
setSummary
(TLValidationJobSummary summary) Sets TL Validation job summaryvoid
setTrustPropertiesByCertificates
(Map<CertificateToken, List<TrustProperties>> trustPropertiesByCerts) The method allows to fill the CertificateSource
-
Method Details
-
getSummary
-
setSummary
Sets TL Validation job summary- Parameters:
summary
-TLValidationJobSummary
-
getTrustServices
Returns TrustProperties for the given certificate, when applicable- Parameters:
token
-CertificateToken
- Returns:
- a list of
TrustProperties
-
setTrustPropertiesByCertificates
void setTrustPropertiesByCertificates(Map<CertificateToken, List<TrustProperties>> trustPropertiesByCerts) The method allows to fill the CertificateSource- Parameters:
trustPropertiesByCerts
- map betweenCertificateToken
s and a list ofTrustProperties
-