Package eu.europa.esig.dss.model.tsl
Class TrustService
java.lang.Object
eu.europa.esig.dss.model.tsl.TrustService
- All Implemented Interfaces:
Serializable
This class is a DTO representation for a TSL service
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
BuildsTrustService
-
Constructor Summary
ConstructorDescriptionTrustService
(List<CertificateToken> certificates, TimeDependentValues<TrustServiceStatusAndInformationExtensions> status) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionGets a list of certificatesGets status based on time
-
Constructor Details
-
TrustService
public TrustService(List<CertificateToken> certificates, TimeDependentValues<TrustServiceStatusAndInformationExtensions> status) Default constructor- Parameters:
certificates
- a list ofCertificateToken
sstatus
-TimeDependentValues
-
-
Method Details
-
getCertificates
Gets a list of certificates- Returns:
- a list of
CertificateToken
s
-
getStatusAndInformationExtensions
public TimeDependentValues<TrustServiceStatusAndInformationExtensions> getStatusAndInformationExtensions()Gets status based on time- Returns:
TimeDependentValues
-