|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbe.ehealth.technicalconnector.service.etee.CryptoFactory
public final class CryptoFactory
Factory class to retreive the implementation of the Crypto. Creates Crypto
| Field Summary | |
|---|---|
static String |
OCSP_CERT_STORE
Base property to set the certificates and crl to be used by the OCSP verification. |
static String |
OCSP_CLOCK_SKEW
Property to set the acceptable difference (in millis) in time calculations to prevent clock synchronisation issues. |
static String |
OCSP_CONNECTION_TIMEOUT
Maximum time (in millis) to setup a connection. |
static String |
OCSP_CONNECTION_USER_INTERACTION
Flag (true/false) to allow for user interaction. |
static String |
OCSP_INJECT_RESPONSE
Flag (true/false) to add OSCPResponse to sealed message. |
static String |
OCSP_READ_TIMEOUT
Maximum time (in millis) to wait for a response. |
static String |
OCSP_URI
Property to set the endpoint of the OCSP Response. |
static String |
PROPS_CRYPTO_CLASS
Property used to change the implementation for the Crypto. |
static String |
SIGNING_CLOCK_SKEW
Property to set the acceptable difference (in millis) in time calculations to prevent clock synchronisation issues. |
static String |
SIGNING_TIME_EXPIRATION
Property to set the maximum time (in minutes) to consider a sealed message as recent. |
static String |
SIGNING_TIME_TRUST_IMPLICIT
Flag (true/false) to accept messages that have an expired Signing-Time without further verifications. |
static String |
SIGNING_TSA_CERT_STORE
Base property to set the certificates and crl to be used by the TSA verification. |
| Method Summary | ||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
static KeyStore |
getCaCertificateStore()
|
|||||||||||||||||||||||||||||||||||||
static Crypto |
getCrypto(Credential encryption,
Map<String,PrivateKey> decryptionKeys)
|
|||||||||||||||||||||||||||||||||||||
static Crypto |
getCrypto(Credential encryption,
Map<String,PrivateKey> decryptionKeys,
String oCSPPolicy)
Possible values of the OCSPPolicy parameter:
PROPS_CRYPTO_CLASSpublic static final String PROPS_CRYPTO_CLASS
SIGNING_TIME_EXPIRATIONpublic static final String SIGNING_TIME_EXPIRATION
SIGNING_CLOCK_SKEWpublic static final String SIGNING_CLOCK_SKEW
SIGNING_TIME_TRUST_IMPLICITpublic static final String SIGNING_TIME_TRUST_IMPLICIT
SIGNING_TSA_CERT_STOREpublic static final String SIGNING_TSA_CERT_STORE
OCSP_URIpublic static final String OCSP_URI
OCSP_INJECT_RESPONSEpublic static final String OCSP_INJECT_RESPONSE
OCSP_CLOCK_SKEWpublic static final String OCSP_CLOCK_SKEW
OCSP_CONNECTION_TIMEOUTpublic static final String OCSP_CONNECTION_TIMEOUT
OCSP_CERT_STOREpublic static final String OCSP_CERT_STORE
OCSP_READ_TIMEOUTpublic static final String OCSP_READ_TIMEOUT
OCSP_CONNECTION_USER_INTERACTIONpublic static final String OCSP_CONNECTION_USER_INTERACTION
getCryptopublic static Crypto getCrypto(Credential encryption, Map<String,PrivateKey> decryptionKeys, String oCSPPolicy) throws TechnicalConnectorException
getOCSPOptionspublic static Map<be.fgov.ehealth.etee.crypto.policies.OCSPOption,Object> getOCSPOptions()
resetOCSPOptionspublic static void resetOCSPOptions() getCaCertificateStorepublic static KeyStore getCaCertificateStore() getCryptopublic static Crypto getCrypto(Credential encryption, Map<String,PrivateKey> decryptionKeys) throws TechnicalConnectorException
getCryptoFromSessionpublic static Crypto getCryptoFromSession() throws TechnicalConnectorException
Connector Packaging generic 3.28.5 API Copyright © {inceptionYear}-2025 eHealth. All Rights Reserved. | |||||||||||||||||||||||||||||||||||||