|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbe.ehealth.technicalconnector.service.kgss.impl.KgssServiceImpl
public class KgssServiceImpl
Implementation of KgssService
| Field Summary | |
|---|---|
static String |
EHEALTH_SUCCESS_CODE_100
The eHealth success codes. |
static String |
EHEALTH_SUCCESS_CODE_200
The eHealth success codes. |
| Constructor Summary | |
|---|---|
KgssServiceImpl()
|
|
| Method Summary | |
|---|---|
void |
bootstrap()
|
static boolean |
checkReplyStatus(String responseCode)
Check reply status of the web service call, return true when OK. |
KeyResult |
getKey(GetKeyRequestContent request,
byte[] kgssETK,
SessionItem session)
Gets the key. |
GetKeyResponseContent |
getKey(GetKeyRequestContent request,
Credential encryption,
Credential service,
Element samlAssertion,
Map<String,PrivateKey> decryptionKeys,
byte[] etkKGSS)
Gets the key. |
KeyResult |
getNewKey(GetNewKeyRequestContent request,
byte[] kgssETK)
Asks KGSS to generate and store a new key. |
GetNewKeyResponseContent |
getNewKey(GetNewKeyRequestContent request,
Credential encryption,
Map<String,PrivateKey> decryptionKeys,
byte[] etkKGSS)
Gets the new key. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String EHEALTH_SUCCESS_CODE_100
public static final String EHEALTH_SUCCESS_CODE_200
| Constructor Detail |
|---|
public KgssServiceImpl()
| Method Detail |
|---|
public KeyResult getNewKey(GetNewKeyRequestContent request,
byte[] kgssETK)
throws TechnicalConnectorException
KgssService
getNewKey in interface KgssServicerequest - the requestkgssETK - the kgss etk
TechnicalConnectorException - the technical connector exception
public KeyResult getKey(GetKeyRequestContent request,
byte[] kgssETK,
SessionItem session)
throws TechnicalConnectorException
KgssService
getKey in interface KgssServicerequest - the requestkgssETK - the kgss etksession - the session
TechnicalConnectorException - the technical connector exception
public GetNewKeyResponseContent getNewKey(GetNewKeyRequestContent request,
Credential encryption,
Map<String,PrivateKey> decryptionKeys,
byte[] etkKGSS)
throws TechnicalConnectorException
getNewKey in interface KgssServicerequest - the requestencryption - the encryptiondecryptionKeys - the decryption keysetkKGSS - the etk kgss
TechnicalConnectorException - the technical connector exception When a technical exception occurs
public GetKeyResponseContent getKey(GetKeyRequestContent request,
Credential encryption,
Credential service,
Element samlAssertion,
Map<String,PrivateKey> decryptionKeys,
byte[] etkKGSS)
throws TechnicalConnectorException
getKey in interface KgssServicerequest - the requestencryption - the encryptionservice - the servicedecryptionKeys - the decryption keysetkKGSS - the etk kgsssamlAssertion - the saml assertion
TechnicalConnectorException - the technical connector exception When a technical exception occurs
public static boolean checkReplyStatus(String responseCode)
throws TechnicalConnectorException
responseCode - the response code
TechnicalConnectorException - the technical connector exceptionpublic void bootstrap()
bootstrap in interface ConfigurationModuleBootstrap.ModuleBootstrapHook
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||