public class CryptoImpl extends AbstractEndToEndCrypto
Crypto
. Extends : AbstractCrypto
Crypto.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_MESSAGES
DATASEALER_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, seal
public 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
TechnicalConnectorException
public UnsealedData unseal(Crypto.SigningPolicySelector type, byte[] protectedMessage) throws TechnicalConnectorException
TechnicalConnectorException
public UnsealedData unseal(Crypto.SigningPolicySelector type, KeyResult symmKey, byte[] protectedMessage) throws TechnicalConnectorException
TechnicalConnectorException
public static UnsealedData map(be.fgov.ehealth.etee.crypto.decrypt.UnsealedData data)
public void initialize(Map<String,Object> parameterMap) throws TechnicalConnectorException
ConfigurableImplementation
parameterMap
- Map with for each propertyString ,the input parameter as Object.TechnicalConnectorException
- if the parameterMap is not correct.ConfigurableImplementation.initialize(java.util.Map)
Connector Packaging TECHNICAL 4.0.2 API
Copyright © {inceptionYear}-2021 eHealth. All Rights Reserved.