|
|||||||||||
| 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.moa.DetachedLocRefMOAConnector
Connects to MOA providing the Data detached as LocRef on a local resource.
| Nested Class Summary | |
static class |
DetachedLocRefMOAConnector.Environment
Holds environment configuration information like templates. |
| Field Summary | |
protected DetachedLocRefMOAConnector.Environment |
environment
The environemnt configuration of this connector containing templates and other configurable elements. |
| Constructor Summary | |
DetachedLocRefMOAConnector(String profile,
String signature_data_url)
Constructor that builds the configuration environment for this connector according to the given profile. |
|
| Method Summary | |
SignSignatureObject |
analyzeSignResponse(Properties response_properties)
|
SignatureResponse |
analyzeVerifyResponse(Properties response_properties)
Analyzes the verify response string. |
SignSignatureObject |
doSign(SignatureData data)
Performs a sign. |
SignatureResponse |
doVerify(SignatureData data,
SignSignatureObject so)
Performs a verification. |
protected String |
prepareSignRequest(SignatureData data)
|
String |
prepareVerifyRequest(SignatureData data,
SignSignatureObject so)
Prepares the verify request xml to be sent using the verify request template. |
String |
prepareXMLContent(SignatureData data,
SignSignatureObject so)
|
protected Properties |
sendRequest(String url,
String mode,
String request_string)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected DetachedLocRefMOAConnector.Environment environment
| Constructor Detail |
public DetachedLocRefMOAConnector(String profile,
String signature_data_url)
throws ConnectorException
If confuguration parameters are not defined on that profile, the default parameters defined in the configuration are used.
profile - The profile from which the Environment should be assembled.
SettingsException - f.e.
SignatureException - f.e.
ConnectorException| Method Detail |
protected String prepareSignRequest(SignatureData data)
throws ConnectorException
ConnectorException
public SignSignatureObject analyzeSignResponse(Properties response_properties)
throws ConnectorException
ConnectorExceptionLocalConnector.analyzeSignResponse(java.util.Properties)
public SignSignatureObject doSign(SignatureData data)
throws ConnectorException
Connector
doSign in interface Connectordata - The data to be signed.
ConnectorException - Thrown if something goes wrong.Connector.doSign(at.knowcenter.wag.egov.egiz.sig.SignatureData)
public SignatureResponse doVerify(SignatureData data,
SignSignatureObject so)
throws ConnectorException
Connector
doVerify in interface Connectordata - The data to be verified.so - The signature object with the signature information.
ConnectorException - Thrown if something goes wrong.Connector.doVerify(at.knowcenter.wag.egov.egiz.sig.SignatureData,
at.knowcenter.wag.egov.egiz.sig.connectors.bku.SignSignatureObject)
public String prepareVerifyRequest(SignatureData data,
SignSignatureObject so)
throws ConnectorException
data - The SignatureData.so - The signature information object.
ConnectorException - f.e.
public SignatureResponse analyzeVerifyResponse(Properties response_properties)
throws ConnectorException
response_properties - The response properties containing the response XML.
ConnectorException - f.e.
public String prepareXMLContent(SignatureData data,
SignSignatureObject so)
throws ConnectorException
ConnectorException
protected Properties sendRequest(String url,
String mode,
String request_string)
throws ConnectorException
ConnectorException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||