Package eu.europa.esig.dss.model.tsl
Class TrustService.TrustServiceBuilder
java.lang.Object
eu.europa.esig.dss.model.tsl.TrustService.TrustServiceBuilder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
BuildsTrustService
setCertificates
(List<CertificateToken> certificates) Sets a list of certificatessetStatusAndInformationExtensions
(TimeDependentValues<TrustServiceStatusAndInformationExtensions> status) Sets a status
-
Constructor Details
-
TrustServiceBuilder
public TrustServiceBuilder()Default constructor
-
-
Method Details
-
setCertificates
Sets a list of certificates- Parameters:
certificates
- a list ofCertificateToken
s- Returns:
- this
TrustService.TrustServiceBuilder
-
setStatusAndInformationExtensions
public TrustService.TrustServiceBuilder setStatusAndInformationExtensions(TimeDependentValues<TrustServiceStatusAndInformationExtensions> status) Sets a status- Parameters:
status
-TimeDependentValues
- Returns:
- this
TrustService.TrustServiceBuilder
-
build
-