Package eu.europa.esig.dss.model.tsl
Class OtherTSLPointer.OtherTSLPointerBuilder
java.lang.Object
eu.europa.esig.dss.model.tsl.OtherTSLPointer.OtherTSLPointerBuilder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds theOtherTSLPointer
Gets the MimeType of the Trusted List documentgetMra()
Gets the MRA (Mutual Recognition Agreement) schemeGets a map of scheme operator namesGets the scheme territory codeGets a map of scheme type community rulesGets the ServiceDigitalIdentity X509 certificatesGets the TSL location URLGets the TSL TypesetMimeType
(String mimeType) Sets the MimeType of the Trusted List documentSets the MRA (Mutual Recognition Agreement) schemesetSchemeOperatorNames
(Map<String, List<String>> schemeOperatorNames) Sets a map of scheme operator namessetSchemeTerritory
(String schemeTerritory) Sets the scheme territory codesetSchemeTypeCommunityRules
(Map<String, List<String>> schemeTypeCommunityRules) Sets a map of scheme type community rulessetSdiCertificates
(List<CertificateToken> sdiCertificates) Sets the ServiceDigitalIdentity X509 certificatessetTslLocation
(String tslLocation) Sets the TSL location URLsetTslType
(String tslType) Sets the TSL Type
-
Constructor Details
-
OtherTSLPointerBuilder
public OtherTSLPointerBuilder()Default constructor
-
-
Method Details
-
getSdiCertificates
Gets the ServiceDigitalIdentity X509 certificates- Returns:
- a list of
CertificateToken
s
-
setSdiCertificates
public OtherTSLPointer.OtherTSLPointerBuilder setSdiCertificates(List<CertificateToken> sdiCertificates) Sets the ServiceDigitalIdentity X509 certificates- Parameters:
sdiCertificates
- a list ofCertificateToken
s- Returns:
OtherTSLPointer.OtherTSLPointerBuilder
-
getTslLocation
-
setTslLocation
Sets the TSL location URL- Parameters:
tslLocation
-String
- Returns:
OtherTSLPointer.OtherTSLPointerBuilder
-
getSchemeTerritory
-
setSchemeTerritory
Sets the scheme territory code- Parameters:
schemeTerritory
-String
- Returns:
OtherTSLPointer.OtherTSLPointerBuilder
-
getTslType
-
setTslType
Sets the TSL Type- Parameters:
tslType
-String
- Returns:
OtherTSLPointer.OtherTSLPointerBuilder
-
getMimeType
-
setMimeType
Sets the MimeType of the Trusted List document- Parameters:
mimeType
-String
- Returns:
OtherTSLPointer.OtherTSLPointerBuilder
-
getSchemeOperatorNames
-
setSchemeOperatorNames
public OtherTSLPointer.OtherTSLPointerBuilder setSchemeOperatorNames(Map<String, List<String>> schemeOperatorNames) Sets a map of scheme operator names- Parameters:
schemeOperatorNames
- a map betweenString
languages and lists ofString
names- Returns:
OtherTSLPointer.OtherTSLPointerBuilder
-
getSchemeTypeCommunityRules
-
setSchemeTypeCommunityRules
public OtherTSLPointer.OtherTSLPointerBuilder setSchemeTypeCommunityRules(Map<String, List<String>> schemeTypeCommunityRules) Sets a map of scheme type community rules- Parameters:
schemeTypeCommunityRules
- a map betweenString
languages and lists ofString
names- Returns:
OtherTSLPointer.OtherTSLPointerBuilder
-
getMra
-
setMra
Sets the MRA (Mutual Recognition Agreement) scheme- Parameters:
mra
-MRA
- Returns:
OtherTSLPointer.OtherTSLPointerBuilder
-
build
-