public final class ServiceFactory extends Object
Modifier and Type | Method and Description |
---|---|
static GenericRequest |
getETKService()
Gets the eTK service.
|
static GenericRequest |
getIdSupportV2Service(SAMLToken token) |
static GenericRequest |
getKGSSService()
Gets the KGSS service.
|
static GenericRequest |
getKGSSServiceSecured(SAMLToken token)
Gets the KGSSS service secured.
|
static GenericRequest |
getSealsService(X509Certificate certificate,
PrivateKey privateKey)
Gets the Codage service.
|
static GenericRequest |
getSTSService(X509Certificate certificate,
PrivateKey privateKey)
Gets the sTS service.
|
static GenericRequest |
getTSAuthorityService(X509Certificate certificate,
PrivateKey privateKey)
Gets the Timestamping service.
|
static GenericRequest |
getTSConsultService(X509Certificate certificate,
PrivateKey privateKey)
Gets the Timestamping service.
|
public static GenericRequest getSealsService(X509Certificate certificate, PrivateKey privateKey) throws TechnicalConnectorException
certificate
- the certificateprivateKey
- the private keyTechnicalConnectorException
- the technical connector exceptionpublic static GenericRequest getETKService() throws TechnicalConnectorException
TechnicalConnectorException
- the technical connector exceptionpublic static GenericRequest getSTSService(X509Certificate certificate, PrivateKey privateKey) throws TechnicalConnectorException
certificate
- privateKey
- TechnicalConnectorException
- the technical connector exceptionpublic static GenericRequest getKGSSService() throws TechnicalConnectorException
TechnicalConnectorException
- the technical connector exceptionpublic static GenericRequest getKGSSServiceSecured(SAMLToken token) throws TechnicalConnectorException
token
- the tokenTechnicalConnectorException
- the technical connector exceptionpublic static GenericRequest getTSAuthorityService(X509Certificate certificate, PrivateKey privateKey) throws TechnicalConnectorException
certificate
- the certificateprivateKey
- the private keyTechnicalConnectorException
- the technical connector exceptionpublic static GenericRequest getTSConsultService(X509Certificate certificate, PrivateKey privateKey) throws TechnicalConnectorException
certificate
- the certificateprivateKey
- the private keyTechnicalConnectorException
- the technical connector exceptionpublic static GenericRequest getIdSupportV2Service(SAMLToken token) throws TechnicalConnectorException
TechnicalConnectorException
Connector Packaging TECHNICAL 4.1.2 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.