|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbe.ehealth.technicalconnector.service.kgss.builders.impl.KgssMessageBuilderImpl
public class KgssMessageBuilderImpl
Implementation of KgssMessageBuilder
| Constructor Summary | |
|---|---|
KgssMessageBuilderImpl()
|
|
KgssMessageBuilderImpl(byte[] etkKgss,
Credential encryptionCredential,
Map<String,PrivateKey> decryptionKeys)
Instantiates a new kGSS util. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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 KGSS
TechnicalConnectorException - When a technical exception occurs| Method Detail |
|---|
public GetNewKeyRequest sealGetNewKeyRequest(GetNewKeyRequestContent requestContent)
throws TechnicalConnectorException
KgssMessageBuilder
sealGetNewKeyRequest in interface KgssMessageBuilderrequestContent - the request content
TechnicalConnectorException - When a technical exception occurs
public GetNewKeyResponseContent unsealGetNewKeyResponse(GetNewKeyResponse response)
throws TechnicalConnectorException
KgssMessageBuilder
unsealGetNewKeyResponse in interface KgssMessageBuilderresponse - the response
TechnicalConnectorException - When a technical exception occurs
public GetKeyRequest sealGetKeyRequest(GetKeyRequestContent requestContent)
throws TechnicalConnectorException
KgssMessageBuilder
sealGetKeyRequest in interface KgssMessageBuilderrequestContent - the request content
TechnicalConnectorException - When a technical exception occurs
public GetKeyResponseContent unsealGetKeyResponse(GetKeyResponse response)
throws TechnicalConnectorException
KgssMessageBuilder
unsealGetKeyResponse in interface KgssMessageBuilderresponse - the response
TechnicalConnectorException - When a technical exception occurspublic void bootstrap()
bootstrap in interface ConfigurationModuleBootstrap.ModuleBootstrapHook
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||