Package eu.europa.esig.dss.model.tsl
Interface TrustedCertificateSourceWithTime
- All Known Subinterfaces:
TrustPropertiesCertificateSource
- All Known Implementing Classes:
TrustedListsCertificateSource
public interface TrustedCertificateSourceWithTime
This trusted certificate source defines a collection of trusted certificates with a given trusted validity range,
during which a certificate is considered as a trust anchor
-
Method Summary
Modifier and TypeMethodDescriptiongetTrustTime(CertificateToken token) Returns trust time period for the given certificate, when the certificate is considered as a trust anchor.
-
Method Details
-
getTrustTime
Returns trust time period for the given certificate, when the certificate is considered as a trust anchor. For an unbounded period of trust time, returns aCertificateTrustTimewith empty values. When the certificate is not trusted at any time, returns not trustedCertificateTrustTimeentry.- Parameters:
token-CertificateToken- Returns:
CertificateTrustTime
-