be.ehealth.technicalconnector.service.kgss.builders
Interface KgssMessageBuilder

All Known Implementing Classes:
KgssMessageBuilderImpl

public interface KgssMessageBuilder

All KGSS communication is encrypted. This means that:

This interface contains all methods that allow you to unseal/seal KGSS messages. Default impl : KgssMessageBuilderImpl


Method Summary
 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.
 

Method Detail

sealGetNewKeyRequest

GetNewKeyRequest sealGetNewKeyRequest(GetNewKeyRequestContent requestContent)
                                      throws TechnicalConnectorException
Seal get new key request.

Parameters:
requestContent - the request content
Returns:
the gets the new key request
Throws:
TechnicalConnectorException - When a technical exception occurs

unsealGetNewKeyResponse

GetNewKeyResponseContent unsealGetNewKeyResponse(GetNewKeyResponse response)
                                                 throws TechnicalConnectorException
Unseal get new key response.

Parameters:
response - the response
Returns:
the gets the new key response content
Throws:
TechnicalConnectorException - When a technical exception occurs

sealGetKeyRequest

GetKeyRequest sealGetKeyRequest(GetKeyRequestContent requestContent)
                                throws TechnicalConnectorException
Seal get key request.

Parameters:
requestContent - the request content
Returns:
the gets the key request
Throws:
TechnicalConnectorException - When a technical exception occurs

unsealGetKeyResponse

GetKeyResponseContent unsealGetKeyResponse(GetKeyResponse response)
                                           throws TechnicalConnectorException
Unseal get key response.

Parameters:
response - the response
Returns:
the gets the key response content
Throws:
TechnicalConnectorException - When a technical exception occurs



Connector Packaging TECHNICAL 3.24.0-beta-4 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.