Package eu.europa.esig.dss.spi.tsl
Class TrustService.TrustServiceBuilder
java.lang.Object
eu.europa.esig.dss.spi.tsl.TrustService.TrustServiceBuilder
- Enclosing class:
TrustService
Builds
TrustService
-
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
BuildsTrustService
- Returns:
TrustService
-