be.ehealth.technicalconnector.service.etee.impl
Class AbstractEndToEndCrypto
java.lang.Object
be.ehealth.technicalconnector.service.etee.impl.AbstractCrypto
be.ehealth.technicalconnector.service.etee.impl.AbstractEndToEndCrypto
- All Implemented Interfaces:
- Crypto, ConfigurableImplementation
- Direct Known Subclasses:
- CryptoImpl
public abstract class AbstractEndToEndCrypto
- extends AbstractCrypto
Abstract class that extracts all the utility methods
Method Summary |
byte[] |
seal(byte[] paramArrayOfByte,
SecretKey secretKey,
String base64encodedSymKekId)
|
byte[] |
seal(Crypto.SigningPolicySelector type,
EncryptionToken encryptionToken,
byte[] content)
|
byte[] |
seal(Crypto.SigningPolicySelector type,
KeyResult symmKey,
byte[] content)
|
byte[] |
seal(Crypto.SigningPolicySelector type,
Set<EncryptionToken> paramEncryptionTokenSet,
byte[] content)
|
byte[] |
seal(EncryptionToken paramEncryptionToken,
byte[] paramArrayOfByte)
|
byte[] |
seal(Set<EncryptionToken> paramEncryptionTokenSet,
byte[] paramArrayOfByte)
|
byte[] |
seal(Set<EncryptionToken> paramEncryptionTokenSet,
byte[] content,
SecretKey secretKey,
String base64encodedSymKekId)
|
byte[] |
unseal(byte[] protectedMessage)
|
byte[] |
unsealForUnknown(SecretKey key,
byte[] protectedMessage)
|
PROP_DUMP_MESSAGES
public static final String PROP_DUMP_MESSAGES
- Property to specify if the message must be dumped in the logs
Default::false
- See Also:
- Constant Field Values
PROP_DUMP_FIRST_CHARS
public static final String PROP_DUMP_FIRST_CHARS
- Property to specify the number of characters that will be dumped in the logs.
Default:50
- See Also:
- Constant Field Values
AbstractEndToEndCrypto
public AbstractEndToEndCrypto()
seal
public byte[] seal(EncryptionToken paramEncryptionToken,
byte[] paramArrayOfByte)
throws TechnicalConnectorException
- Throws:
TechnicalConnectorException
seal
public byte[] seal(Set<EncryptionToken> paramEncryptionTokenSet,
byte[] paramArrayOfByte)
throws TechnicalConnectorException
- Throws:
TechnicalConnectorException
seal
public byte[] seal(byte[] paramArrayOfByte,
SecretKey secretKey,
String base64encodedSymKekId)
throws TechnicalConnectorException
- Throws:
TechnicalConnectorException
seal
public byte[] seal(Set<EncryptionToken> paramEncryptionTokenSet,
byte[] content,
SecretKey secretKey,
String base64encodedSymKekId)
throws TechnicalConnectorException
- Throws:
TechnicalConnectorException
seal
public byte[] seal(Crypto.SigningPolicySelector type,
KeyResult symmKey,
byte[] content)
throws TechnicalConnectorException
- Throws:
TechnicalConnectorException
seal
public byte[] seal(Crypto.SigningPolicySelector type,
EncryptionToken encryptionToken,
byte[] content)
throws TechnicalConnectorException
- Throws:
TechnicalConnectorException
seal
public byte[] seal(Crypto.SigningPolicySelector type,
Set<EncryptionToken> paramEncryptionTokenSet,
byte[] content)
throws TechnicalConnectorException
- Throws:
TechnicalConnectorException
unseal
public byte[] unseal(byte[] protectedMessage)
throws UnsealConnectorException,
TechnicalConnectorException
- Throws:
UnsealConnectorException
TechnicalConnectorException
unsealForUnknown
public byte[] unsealForUnknown(SecretKey key,
byte[] protectedMessage)
throws TechnicalConnectorException
- Throws:
TechnicalConnectorException
Connector Business ORGPHARMACY 3.10.2 API
Copyright © {inceptionYear}-2016 eHealth. All Rights Reserved.