|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectat.knowcenter.wag.egov.egiz.sig.connectors.ConnectorEnvironment
at.knowcenter.wag.egov.egiz.sig.connectors.mocca.LocRefDetachedMOCCAConnector.Environment
Holds environment configuration information like templates.
| Field Summary | |
protected String |
algorithmId
|
protected String |
cert_alg_ecdsa
|
protected String |
cert_alg_rsa
|
protected static String |
ECDSA_CERT_ALG_KEY
The configuration key for the ECDSA cert alg property. |
protected String |
loc_ref_content
|
protected String |
profile
|
protected static String |
RSA_CERT_ALG_KEY
The configuration key for the RSA cert alg property. |
protected String |
sign_keybox_identifier
|
protected static String |
SIGN_KEYBOX_IDENTIFIER_KEY
The configuration key of the sign keybox identifier. |
protected String |
sign_request_template
|
protected static String |
SIGN_REQUEST_TEMPLATE_KEY
The configuration key of the sign request template. |
protected static String |
SIGN_TEMPLATE_FILE_SUFFIX
signing file template suffix |
protected String |
sign_url
|
protected static String |
SIGN_URL_KEY
The configuration key of the sign URL. |
protected static String |
TEMPLATE_FILE_PREFIX
BKU template file prefix |
protected String |
verify_template
|
protected static String |
VERIFY_TEMPLATE_KEY
The configuration key of the verify template. |
protected static String |
VERIFY_TEMPLATE_SUFFIX
verifing file template key suffix |
| Constructor Summary | |
LocRefDetachedMOCCAConnector.Environment(String profile,
String loc_ref_content,
String algorithmId)
Initializes the environment with a given profile. |
|
| Method Summary | |
String |
getCertAlgEcdsa()
Returns the ecdsa cert alg property. |
String |
getCertAlgRsa()
Returns the rsa cert alg property. |
static String |
getConnectorValueFromProfile(SettingsReader settings,
String profile,
String key)
Reads the configuration entry given by the key, first from the given profile, if not found from the defaults. |
String |
getLocRefContent()
Returns the LocRef content. |
String |
getProfile()
Returns the profile name. |
String |
getSignKeyboxIdentifier()
Returns the sign keybox identifier. |
String |
getSignRequestTemplate()
Returns the sign request template. |
String |
getSignURL()
Returns the sign URL. |
String |
getVerifyTemplate()
Returns the verify template. |
| Methods inherited from class at.knowcenter.wag.egov.egiz.sig.connectors.ConnectorEnvironment |
getDefaultAlgForCert |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static final String SIGN_KEYBOX_IDENTIFIER_KEY
protected static final String SIGN_REQUEST_TEMPLATE_KEY
protected static final String SIGN_URL_KEY
protected static final String TEMPLATE_FILE_PREFIX
protected static final String SIGN_TEMPLATE_FILE_SUFFIX
protected static final String VERIFY_TEMPLATE_SUFFIX
protected static final String VERIFY_TEMPLATE_KEY
protected static final String ECDSA_CERT_ALG_KEY
protected static final String RSA_CERT_ALG_KEY
protected String profile
protected String loc_ref_content
protected String sign_keybox_identifier
protected String sign_request_template
protected String sign_url
protected String verify_template
protected String cert_alg_ecdsa
protected String cert_alg_rsa
protected String algorithmId
| Constructor Detail |
public LocRefDetachedMOCCAConnector.Environment(String profile,
String loc_ref_content,
String algorithmId)
throws ConnectorException
profile - The configuration profile.algorithmId - The algorithm identifer.
ConnectorException - Thrown in case of an error.| Method Detail |
public String getProfile()
public String getLocRefContent()
public String getSignKeyboxIdentifier()
public String getSignRequestTemplate()
public String getSignURL()
public String getVerifyTemplate()
getVerifyTemplate in class ConnectorEnvironmentpublic String getCertAlgEcdsa()
getCertAlgEcdsa in class ConnectorEnvironmentpublic String getCertAlgRsa()
getCertAlgRsa in class ConnectorEnvironment
public static String getConnectorValueFromProfile(SettingsReader settings,
String profile,
String key)
settings - The settings.profile - The profile.key - The configuration key.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||