Package eu.europa.esig.dss.spi.tsl
Class TrustProperties
java.lang.Object
eu.europa.esig.dss.spi.tsl.TrustProperties
public class TrustProperties extends Object
Contains the Trust properties for certificates
-
Constructor Summary
Constructors Constructor Description TrustProperties(Identifier lotlId, Identifier tlId, TrustServiceProvider trustServiceProvider, TimeDependentValues<TrustServiceStatusAndInformationExtensions> trustService)
Constructor for extracted information from trusted list which is linked to a LOTLTrustProperties(Identifier tlId, TrustServiceProvider trustServiceProvider, TimeDependentValues<TrustServiceStatusAndInformationExtensions> trustService)
Constructor for extracted information from an "independent" trusted list -
Method Summary
Modifier and Type Method Description Identifier
getLOTLIdentifier()
Gets LOTL IdIdentifier
getTLIdentifier()
Gets TL IdTimeDependentValues<TrustServiceStatusAndInformationExtensions>
getTrustService()
Gets trust serviceTrustServiceProvider
getTrustServiceProvider()
Gets trust service provider
-
Constructor Details
-
TrustProperties
public TrustProperties(Identifier tlId, TrustServiceProvider trustServiceProvider, TimeDependentValues<TrustServiceStatusAndInformationExtensions> trustService)Constructor for extracted information from an "independent" trusted list- Parameters:
tlId
- the TL identifiertrustServiceProvider
- the trust service provider informationtrustService
- the current trust service
-
TrustProperties
public TrustProperties(Identifier lotlId, Identifier tlId, TrustServiceProvider trustServiceProvider, TimeDependentValues<TrustServiceStatusAndInformationExtensions> trustService)Constructor for extracted information from trusted list which is linked to a LOTL- Parameters:
lotlId
- the LOTL identifiertlId
- the TL identifiertrustServiceProvider
- the trust service provider informationtrustService
- the current trust service
-
-
Method Details
-
getLOTLIdentifier
Gets LOTL Id- Returns:
Identifier
-
getTLIdentifier
Gets TL Id- Returns:
Identifier
-
getTrustServiceProvider
Gets trust service provider- Returns:
TrustServiceProvider
-
getTrustService
Gets trust service- Returns:
TimeDependentValues
-