public final class Lotl extends Object implements Serializable
| Modifier and Type | Method and Description |
|---|---|
LotlId |
getLotlId() |
String |
getLotlTerritory() |
String |
getLotlUrl() |
String |
getTerritoryByUrl(String url)
Returns territory code by the given URL.
|
TrustedList |
getTerritoryList(String territory)
Returns TrustedList for the given territory.
|
List<TrustedCertificate> |
getTrustedCertificates()
Returns the avaialble trusted certificates.
|
lv.eparaksts.util.ByteArrayDataSource |
getTrustedListResource(String url)
Returns TrustedList resource by the given URL.
|
TrustedListResult |
getTrustedListResult(String territory) |
boolean |
update()
Updates the actual Trusted Lists.
|
boolean |
update(String... territory) |
public LotlId getLotlId()
public String getLotlTerritory()
public String getLotlUrl()
public TrustedList getTerritoryList(String territory)
getLotlTerritory() to get the primary TrustedList.territory - code of the territory.public TrustedListResult getTrustedListResult(String territory)
public boolean update()
throws TrustedListException
TrustedListException - if update failed.public boolean update(String... territory) throws TrustedListException
TrustedListExceptionpublic List<TrustedCertificate> getTrustedCertificates() throws TrustedListException
TrustedListException - if certificate collection failed.public lv.eparaksts.util.ByteArrayDataSource getTrustedListResource(String url)
url - TrustedList resource URL.