Package eu.europa.esig.dss.model.tsl
Class OtherTSLPointer.OtherTSLPointerBuilder
java.lang.Object
eu.europa.esig.dss.model.tsl.OtherTSLPointer.OtherTSLPointerBuilder
- Enclosing class:
OtherTSLPointer
Builds
OtherTSLPointer-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds theOtherTSLPointerGets 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
CertificateTokens
-
setSdiCertificates
public OtherTSLPointer.OtherTSLPointerBuilder setSdiCertificates(List<CertificateToken> sdiCertificates) Sets the ServiceDigitalIdentity X509 certificates- Parameters:
sdiCertificates- a list ofCertificateTokens- Returns:
OtherTSLPointer.OtherTSLPointerBuilder
-
getTslLocation
Gets the TSL location URL- Returns:
- tslLocation
String
-
setTslLocation
Sets the TSL location URL- Parameters:
tslLocation-String- Returns:
OtherTSLPointer.OtherTSLPointerBuilder
-
getSchemeTerritory
Gets the scheme territory code- Returns:
String
-
setSchemeTerritory
Sets the scheme territory code- Parameters:
schemeTerritory-String- Returns:
OtherTSLPointer.OtherTSLPointerBuilder
-
getTslType
Gets the TSL Type- Returns:
String
-
setTslType
Sets the TSL Type- Parameters:
tslType-String- Returns:
OtherTSLPointer.OtherTSLPointerBuilder
-
getMimeType
Gets the MimeType of the Trusted List document- Returns:
String
-
setMimeType
Sets the MimeType of the Trusted List document- Parameters:
mimeType-String- Returns:
OtherTSLPointer.OtherTSLPointerBuilder
-
getSchemeOperatorNames
Gets a map of scheme operator names -
setSchemeOperatorNames
public OtherTSLPointer.OtherTSLPointerBuilder setSchemeOperatorNames(Map<String, List<String>> schemeOperatorNames) Sets a map of scheme operator names- Parameters:
schemeOperatorNames- a map betweenStringlanguages and lists ofStringnames- Returns:
OtherTSLPointer.OtherTSLPointerBuilder
-
getSchemeTypeCommunityRules
Gets a map of scheme type community rules -
setSchemeTypeCommunityRules
public OtherTSLPointer.OtherTSLPointerBuilder setSchemeTypeCommunityRules(Map<String, List<String>> schemeTypeCommunityRules) Sets a map of scheme type community rules- Parameters:
schemeTypeCommunityRules- a map betweenStringlanguages and lists ofStringnames- Returns:
OtherTSLPointer.OtherTSLPointerBuilder
-
getMra
Gets the MRA (Mutual Recognition Agreement) scheme- Returns:
MRA
-
setMra
Sets the MRA (Mutual Recognition Agreement) scheme- Parameters:
mra-MRA- Returns:
OtherTSLPointer.OtherTSLPointerBuilder
-
build
Builds theOtherTSLPointer- Returns:
OtherTSLPointer
-