public class SessionItemImpl extends Object implements SessionItem
SessionItem
.Constructor and Description |
---|
SessionItemImpl()
Instantiates a new session item.
|
Modifier and Type | Method and Description |
---|---|
Credential |
getEncryptionCredential()
Gets the personal credential.
|
Crypto |
getEncryptionCrypto()
Gets the crypto associated with the Encryption credentials
|
Map<String,PrivateKey> |
getEncryptionPrivateKeys()
Gets the personaldecryption keys.
|
Credential |
getHeaderCredential() |
Credential |
getHolderOfKeyCredential()
Gets the system credential.
|
Crypto |
getHolderOfKeyCrypto()
Gets the crypto associated with the HOK credentials
|
Map<String,PrivateKey> |
getHolderOfKeyPrivateKeys()
Gets the system decryption keys.
|
SAMLToken |
getSAMLToken()
Gets the sAML token.
|
void |
setEncryptionCredential(Credential encryptionCredential)
Sets the personal credential.
|
void |
setEncryptionPrivateKeys(Map<String,PrivateKey> encryptionPrivateKeys)
Sets the personaldecryption keys.
|
void |
setHeaderCredential(Credential headerCredential) |
void |
setHolderOfKeyCredential(Credential hokCredential)
Sets the system credential.
|
void |
setHolderOfKeyPrivateKeys(Map<String,PrivateKey> hokPrivateKeys)
Sets the system decryption keys.
|
void |
setSAMLToken(SAMLToken token)
This method will set the samltoken when created
|
public SessionItemImpl()
BusinessConnectorException
public void setSAMLToken(SAMLToken token)
SessionItem
setSAMLToken
in interface SessionItem
SessionItem.setSAMLToken(be.ehealth.technicalconnector.service.sts.security.SAMLToken)
public final SAMLToken getSAMLToken()
SessionItem
getSAMLToken
in interface SessionItem
SessionItem.getSAMLToken()
public final void setHolderOfKeyCredential(Credential hokCredential)
SessionItem
setHolderOfKeyCredential
in interface SessionItem
hokCredential
- the hok credentialSessionItem.setHolderOfKeyCredential(be.ehealth.technicalconnector.service.sts.security.Credential)
public final Credential getHolderOfKeyCredential()
SessionItem
getHolderOfKeyCredential
in interface SessionItem
SessionItem.getHolderOfKeyCredential()
public final void setHolderOfKeyPrivateKeys(Map<String,PrivateKey> hokPrivateKeys)
SessionItem
setHolderOfKeyPrivateKeys
in interface SessionItem
hokPrivateKeys
- the system decryption keysSessionItem.setHolderOfKeyPrivateKeys(java.util.Map)
public final Map<String,PrivateKey> getHolderOfKeyPrivateKeys()
SessionItem
getHolderOfKeyPrivateKeys
in interface SessionItem
SessionItem.getHolderOfKeyPrivateKeys()
public final void setEncryptionCredential(Credential encryptionCredential)
SessionItem
setEncryptionCredential
in interface SessionItem
encryptionCredential
- the new personal credentialSessionItem.setEncryptionCredential(be.ehealth.technicalconnector.service.sts.security.Credential)
public final Credential getEncryptionCredential()
SessionItem
getEncryptionCredential
in interface SessionItem
SessionItem.getEncryptionCredential()
public final void setEncryptionPrivateKeys(Map<String,PrivateKey> encryptionPrivateKeys)
SessionItem
setEncryptionPrivateKeys
in interface SessionItem
encryptionPrivateKeys
- the personaldecryption keysSessionItem.setEncryptionPrivateKeys(java.util.Map)
public final Map<String,PrivateKey> getEncryptionPrivateKeys()
SessionItem
getEncryptionPrivateKeys
in interface SessionItem
SessionItem.getEncryptionPrivateKeys()
public Crypto getHolderOfKeyCrypto() throws TechnicalConnectorException
SessionItem
getHolderOfKeyCrypto
in interface SessionItem
TechnicalConnectorException
SessionItem.getHolderOfKeyCrypto()
public Crypto getEncryptionCrypto() throws TechnicalConnectorException
SessionItem
getEncryptionCrypto
in interface SessionItem
TechnicalConnectorException
SessionItem.getEncryptionCrypto()
public void setHeaderCredential(Credential headerCredential) throws TechnicalConnectorException
setHeaderCredential
in interface SessionItem
headerCredential
- the headerCredential to setTechnicalConnectorException
SessionItem.setHeaderCredential(be.ehealth.technicalconnector.service.sts.security.Credential)
public Credential getHeaderCredential() throws TechnicalConnectorException
getHeaderCredential
in interface SessionItem
TechnicalConnectorException
SessionItem.getHeaderCredential()
Connector Packaging TECHNICAL 4.1.2 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.