public class CryptoImpl extends AbstractEndToEndCrypto
Crypto. Extends : AbstractCryptoCrypto.SigningPolicySelector| Modifier and Type | Field and Description |
|---|---|
static String |
PROP_LIST_IGNORED_NOTIFICATION_ERRORS_ROOTKEY
Property of the notification error that can be ignored.
|
PROP_DUMP_FIRST_CHARS, PROP_DUMP_MESSAGESDATASEALER_CREDENTIAL, DATAUNSEALER_PKMAP, OCSP_OPTIONMAP, OCSP_POLICY, SIGNING_OPTIONMAP| Constructor and Description |
|---|
CryptoImpl()
needed for ConfigurableFactoryHelper to instantiate this class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(Map<String,Object> parameterMap)
initializes the implementation with additional parameters.
|
static UnsealedData |
map(be.fgov.ehealth.etee.crypto.decrypt.UnsealedData data) |
byte[] |
seal(Crypto.SigningPolicySelector type,
Set<EncryptionToken> paramEncryptionTokenSet,
KeyResult symmKey,
byte[] content) |
UnsealedData |
unseal(Crypto.SigningPolicySelector type,
byte[] protectedMessage) |
UnsealedData |
unseal(Crypto.SigningPolicySelector type,
KeyResult symmKey,
byte[] protectedMessage) |
seal, seal, sealpublic static final String PROP_LIST_IGNORED_NOTIFICATION_ERRORS_ROOTKEY
public CryptoImpl()
public byte[] seal(Crypto.SigningPolicySelector type, Set<EncryptionToken> paramEncryptionTokenSet, KeyResult symmKey, byte[] content) throws TechnicalConnectorException
TechnicalConnectorExceptionpublic UnsealedData unseal(Crypto.SigningPolicySelector type, byte[] protectedMessage) throws TechnicalConnectorException
TechnicalConnectorExceptionpublic UnsealedData unseal(Crypto.SigningPolicySelector type, KeyResult symmKey, byte[] protectedMessage) throws TechnicalConnectorException
TechnicalConnectorExceptionpublic static UnsealedData map(be.fgov.ehealth.etee.crypto.decrypt.UnsealedData data)
public void initialize(Map<String,Object> parameterMap) throws TechnicalConnectorException
ConfigurableImplementationparameterMap - Map with for each propertyString ,the input parameter as Object.TechnicalConnectorException - if the parameterMap is not correct.ConfigurableImplementation.initialize(java.util.Map)
Connector Packaging generic 4.4.0 API
Copyright © {inceptionYear}-2023 eHealth. All Rights Reserved.