public interface TSLConnectorInterface
Modifier and Type | Method and Description |
---|---|
boolean |
checkQC(X509Certificate[] certificate)
Check the http://uri.etis.org/TrstSvc/Svctype/CA/QC characteristic of a certificate by using the TSL information.
|
boolean |
checkSSCD(X509Certificate[] certificate)
Check the http://uri.etis.org/TrstSvc/eSigDir-1999-93-ECTrustedList/SvcInfoExt/QCWithSSCD characteristic of a certificate by using the TSL information.
|
ArrayList<File> |
getQualifiedCACertificates(Date dateTime,
String[] serviceLevelStatus)
Get a list of certificates form the local TSL database with the selected properties.
|
ArrayList<File> |
getQualifiedCACertificates(Date dateTime,
String[] countries,
String[] serviceLevelStatus)
Get a list of certificates form the local TSL database with the selected properties.
|
void |
initialize(String euTSLURL,
String TSLWorkingDirectoryPath,
String jdbcURL,
String jdbcDriverClass)
Initial the MOA TSL Connector.
|
ArrayList<File> |
updateAndGetQualifiedCACertificates(Date dateTime,
String[] serviceLevelStatus)
Perform an update of all certificates which are on EU TSL and all MS TSLs and create an locale TSL database.
|
ArrayList<File> |
updateAndGetQualifiedCACertificates(Date dateTime,
String[] countries,
String[] serviceLevelStatus)
Perform an update of all certificates which are on EU TSL and all MS TSLs and create an locale TSL database.
|
void initialize(String euTSLURL, String TSLWorkingDirectoryPath, String jdbcURL, String jdbcDriverClass) throws iaik.xml.crypto.tsl.ex.TSLEngineDiedException
euTSLURL
- - URL to TrustListTSLWorkingDirectoryPath
- - Path to a folder which should be used by the TSL engine. (/A/B/.../)jdbcURL
- - ...jdbcDriverClass
- - ...iaik.xml.crypto.tsl.ex.TSLEngineDiedException
ArrayList<File> updateAndGetQualifiedCACertificates(Date dateTime, String[] serviceLevelStatus) throws iaik.xml.crypto.tsl.ex.TSLEngineDiedException, iaik.xml.crypto.tsl.ex.TSLSearchException
dateTime
- - ...serviceLevelStatus
- - String Array of ServiceLevelStatus. For example new String[]{"accredited","undersupervision"}iaik.xml.crypto.tsl.ex.TSLEngineDiedException
iaik.xml.crypto.tsl.ex.TSLSearchException
ArrayList<File> updateAndGetQualifiedCACertificates(Date dateTime, String[] countries, String[] serviceLevelStatus) throws iaik.xml.crypto.tsl.ex.TSLEngineDiedException, iaik.xml.crypto.tsl.ex.TSLSearchException
dateTime
- - ...countries
- - String Array of country codes. For example new Sting[]{"AT","IT","BE"}serviceLevelStatus
- - String Array of ServiceLevelStatus. For example new String[]{"accredited","undersupervision"}iaik.xml.crypto.tsl.ex.TSLEngineDiedException
iaik.xml.crypto.tsl.ex.TSLSearchException
boolean checkQC(X509Certificate[] certificate) throws iaik.xml.crypto.tsl.ex.TSLSearchException, iaik.xml.crypto.tsl.ex.TSLEngineDiedException
certificate
- - An X509 certificate.iaik.xml.crypto.tsl.ex.TSLSearchException
iaik.xml.crypto.tsl.ex.TSLEngineDiedException
boolean checkSSCD(X509Certificate[] certificate) throws iaik.xml.crypto.tsl.ex.TSLSearchException, iaik.xml.crypto.tsl.ex.TSLEngineDiedException
certificate
- - An X509 certificate.iaik.xml.crypto.tsl.ex.TSLSearchException
iaik.xml.crypto.tsl.ex.TSLEngineDiedException
ArrayList<File> getQualifiedCACertificates(Date dateTime, String[] serviceLevelStatus) throws iaik.xml.crypto.tsl.ex.TSLEngineDiedException, iaik.xml.crypto.tsl.ex.TSLSearchException
dateTime
- - ...serviceLevelStatus
- - String Array of ServiceLevelStatus. For example new String[]{"accredited","undersupervision"}iaik.xml.crypto.tsl.ex.TSLEngineDiedException
iaik.xml.crypto.tsl.ex.TSLSearchException
ArrayList<File> getQualifiedCACertificates(Date dateTime, String[] countries, String[] serviceLevelStatus) throws iaik.xml.crypto.tsl.ex.TSLEngineDiedException, iaik.xml.crypto.tsl.ex.TSLSearchException
dateTime
- - ...countries
- - String Array of countrie codes. For example new Sting[]{"AT","IT","BE"}serviceLevelStatus
- - String Array of ServiceLevelStatus. For example new String[]{"accredited","undersupervision"}iaik.xml.crypto.tsl.ex.TSLEngineDiedException
iaik.xml.crypto.tsl.ex.TSLSearchException
Copyright © 2016. All rights reserved.