public interface Crypto extends ConfigurableImplementation
ConfigurableImplementation CryptoImpl CryptoFactory| Modifier and Type | Interface and Description |
|---|---|
static class |
Crypto.SigningPolicySelector |
| Modifier and Type | Field and Description |
|---|---|
static String |
DATASEALER_CREDENTIAL
Key used to pass the
Credential as init param in the
ConfigurableFactoryHelper |
static String |
DATAUNSEALER_PKMAP
Key used to pass the
Map as init param in the ConfigurableFactoryHelper |
static String |
OCSP_OPTIONMAP
Optional Map<
OCSPOption,Object> |
static String |
OCSP_POLICY
Optional ocsp_policy to use
OCSPPolicy |
static String |
SIGNING_OPTIONMAP
Optional Map<
SigningOption,Object> |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
seal(Crypto.SigningPolicySelector type,
EncryptionToken enncryptionToken,
byte[] content) |
byte[] |
seal(Crypto.SigningPolicySelector type,
KeyResult symmKey,
byte[] content) |
byte[] |
seal(Crypto.SigningPolicySelector type,
Set<EncryptionToken> paramEncryptionTokenSet,
byte[] content) |
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) |
initializestatic final String DATAUNSEALER_PKMAP
Map as init param in the ConfigurableFactoryHelperstatic final String DATASEALER_CREDENTIAL
Credential as init param in the
ConfigurableFactoryHelperstatic final String OCSP_OPTIONMAP
OCSPOption,Object>static final String SIGNING_OPTIONMAP
SigningOption,Object>static final String OCSP_POLICY
OCSPPolicy
Default OCSPPolicy.NONE
byte[] seal(Crypto.SigningPolicySelector type, EncryptionToken enncryptionToken, byte[] content) throws TechnicalConnectorException
TechnicalConnectorExceptionbyte[] seal(Crypto.SigningPolicySelector type, Set<EncryptionToken> paramEncryptionTokenSet, byte[] content) throws TechnicalConnectorException
TechnicalConnectorExceptionbyte[] seal(Crypto.SigningPolicySelector type, KeyResult symmKey, byte[] content) throws TechnicalConnectorException
TechnicalConnectorExceptionbyte[] seal(Crypto.SigningPolicySelector type, Set<EncryptionToken> paramEncryptionTokenSet, KeyResult symmKey, byte[] content) throws TechnicalConnectorException
TechnicalConnectorExceptionUnsealedData unseal(Crypto.SigningPolicySelector type, byte[] protectedMessage) throws TechnicalConnectorException
TechnicalConnectorExceptionUnsealedData unseal(Crypto.SigningPolicySelector type, KeyResult symmKey, byte[] protectedMessage) throws TechnicalConnectorException
TechnicalConnectorException
Connector Packaging generic 4.1.2 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.