be.ehealth.technicalconnector.service.etee.impl
Class AbstractCrypto

java.lang.Object
  extended by be.ehealth.technicalconnector.service.etee.impl.AbstractCrypto
All Implemented Interfaces:
Crypto, ConfigurableImplementation
Direct Known Subclasses:
AbstractEndToEndCrypto

public abstract class AbstractCrypto
extends Object
implements Crypto

Abstract class containing symmetric crypto methods Implementation of Crypto


Nested Class Summary
 
Nested classes/interfaces inherited from interface be.ehealth.technicalconnector.service.etee.Crypto
Crypto.SigningPolicySelector
 
Field Summary
 
Fields inherited from interface be.ehealth.technicalconnector.service.etee.Crypto
DATASEALER_CREDENTIAL, DATAUNSEALER_PKMAP, OCSP_OPTIONMAP, OCSP_POLICY, SIGNING_OPTIONMAP
 
Constructor Summary
AbstractCrypto()
           
 
Method Summary
 Key generateSecretKey()
           
 Key getSymmKey()
           
static byte[] unsealWithSymmKey(Key symmKey, byte[] objectToUnseal)
          Deprecated. replaced with ConnectorCryptoUtils.decrypt(symmkey,"DESede",objectToUnseal)
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface be.ehealth.technicalconnector.service.etee.Crypto
seal, seal, seal, seal, seal, seal, seal, seal, unseal, unseal, unseal, unsealForUnknown
 
Methods inherited from interface be.ehealth.technicalconnector.utils.ConfigurableImplementation
initialize
 

Constructor Detail

AbstractCrypto

public AbstractCrypto()
Method Detail

unsealWithSymmKey

@Deprecated
public static byte[] unsealWithSymmKey(Key symmKey,
                                                  byte[] objectToUnseal)
                                throws TechnicalConnectorException
Deprecated. replaced with ConnectorCryptoUtils.decrypt(symmkey,"DESede",objectToUnseal)

Throws:
TechnicalConnectorException

generateSecretKey

public Key generateSecretKey()
                      throws TechnicalConnectorException
Specified by:
generateSecretKey in interface Crypto
Throws:
TechnicalConnectorException

getSymmKey

public Key getSymmKey()
Specified by:
getSymmKey in interface Crypto



Connector Business ORGPHARMACY 3.13.1 API
Copyright © {inceptionYear}-2017 eHealth. All Rights Reserved.