public class KgssMessageBuilderImpl extends Object implements KgssMessageBuilder, ConfigurationModuleBootstrap.ModuleBootstrapHook
KgssMessageBuilder| Constructor and Description |
|---|
KgssMessageBuilderImpl() |
KgssMessageBuilderImpl(byte[] etkKgss,
Credential encryptionCredential,
Map<String,PrivateKey> decryptionKeys)
Instantiates a new kGSS util.
|
| Modifier and Type | Method and Description |
|---|---|
void |
bootstrap() |
GetKeyRequest |
sealGetKeyRequest(GetKeyRequestContent requestContent)
Seal get key request.
|
GetNewKeyRequest |
sealGetNewKeyRequest(GetNewKeyRequestContent requestContent)
Seal get new key request.
|
GetKeyResponseContent |
unsealGetKeyResponse(GetKeyResponse response)
Unseal get key response.
|
GetNewKeyResponseContent |
unsealGetNewKeyResponse(GetNewKeyResponse response)
Unseal get new key response.
|
public KgssMessageBuilderImpl()
public KgssMessageBuilderImpl(byte[] etkKgss,
Credential encryptionCredential,
Map<String,PrivateKey> decryptionKeys)
throws TechnicalConnectorException
etkKgss - The ETK of KGSSencryptionCredential - The credential to use for sealing the message contents, the certificate is used to seal the request, the
private key is embedded in the request.decryptionKeys - The decrypion keys available for decrypting the received message from KGSSTechnicalConnectorException - When a technical exception occurspublic GetNewKeyRequest sealGetNewKeyRequest(GetNewKeyRequestContent requestContent) throws TechnicalConnectorException
KgssMessageBuildersealGetNewKeyRequest in interface KgssMessageBuilderrequestContent - the request contentTechnicalConnectorException - When a technical exception occurspublic GetNewKeyResponseContent unsealGetNewKeyResponse(GetNewKeyResponse response) throws TechnicalConnectorException
KgssMessageBuilderunsealGetNewKeyResponse in interface KgssMessageBuilderresponse - the responseTechnicalConnectorException - When a technical exception occurspublic GetKeyRequest sealGetKeyRequest(GetKeyRequestContent requestContent) throws TechnicalConnectorException
KgssMessageBuildersealGetKeyRequest in interface KgssMessageBuilderrequestContent - the request contentTechnicalConnectorException - When a technical exception occurspublic GetKeyResponseContent unsealGetKeyResponse(GetKeyResponse response) throws TechnicalConnectorException
KgssMessageBuilderunsealGetKeyResponse in interface KgssMessageBuilderresponse - the responseTechnicalConnectorException - When a technical exception occurspublic void bootstrap()
bootstrap in interface ConfigurationModuleBootstrap.ModuleBootstrapHook
Connector Packaging generic 4.7.3 API
Copyright © {inceptionYear}-2025 eHealth. All Rights Reserved.