public interface KgssService
KgssServiceImpl| Modifier and Type | Method and Description |
|---|---|
KeyResult |
getKey(GetKeyRequestContent request,
byte[] kgssETK,
SessionItem session)
Gets the key.
|
GetKeyResponseContent |
getKey(GetKeyRequestContent request,
Credential encryption,
Credential serviceCredential,
Element samlAssertion,
Map<String,PrivateKey> decryptionKeys,
byte[] etk)
Ask the eHealth-platform Key Generation and Storage Service (KGSS) to retrieve a key, based on a given key identifier.
|
KeyResult |
getNewKey(GetNewKeyRequestContent request,
byte[] kgssETK)
Asks KGSS to generate and store a new key.
|
GetNewKeyResponseContent |
getNewKey(GetNewKeyRequestContent request,
Credential encryptionCredential,
Map<String,PrivateKey> decryptionKeys,
byte[] kgssETK)
Ask the eHealth-platform Key Generation and Storage Service (KGSS) to generate and store a new key, and return the identifier.
|
KeyResult getNewKey(GetNewKeyRequestContent request, byte[] kgssETK) throws TechnicalConnectorException
request - the requestkgssETK - the kgss etkTechnicalConnectorException - the technical connector exceptionKeyResult getKey(GetKeyRequestContent request, byte[] kgssETK, SessionItem session) throws TechnicalConnectorException
request - the requestkgssETK - the kgss etksession - the sessionTechnicalConnectorException - the technical connector exceptionGetNewKeyResponseContent getNewKey(GetNewKeyRequestContent request, Credential encryptionCredential, Map<String,PrivateKey> decryptionKeys, byte[] kgssETK) throws TechnicalConnectorException
request - Business content to request a new key.encryptionCredential - The credential to use for sealing the message contents, the certificate is used to seal the request, the
private key is embedded in the requestdecryptionKeys - The decrypion keys available for decrypting the received message from KGSS, you can use the ETEE tool to
retrieve the decryption keys from your KeyStorekgssETK - ETK of the KGSS as retrieved via the Key Depot getETK operationTechnicalConnectorException - When a technical exception occursGetKeyResponseContent getKey(GetKeyRequestContent request, Credential encryption, Credential serviceCredential, Element samlAssertion, Map<String,PrivateKey> decryptionKeys, byte[] etk) throws TechnicalConnectorException
request - Business content to request a key.encryption - The credential to use for sealing the message contents, the certificate is used to seal the request, the private
key is embedded in the requestserviceCredential - The credential to use in combination with your SAML assertionsamlAssertion - The SAML assertion you got back from STS to authenticate your requestdecryptionKeys - The decrypion keys available for decrypting the received message from KGSS, you can use the ETEE tool to
retrieve the decryption keys from your KeyStoreetk - ETK of the KGSS as retrieved via the Key Depot getETK operationTechnicalConnectorException - When a technical exception occurs
Connector Packaging generic 4.2.0 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.