|
|||||||||||
| 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.EnvelopingBase64MOAConnector
| Nested Class Summary | |
static class |
EnvelopingBase64MOAConnector.Environment
Holds environment configuration information like templates. |
| Field Summary | |
protected EnvelopingBase64MOAConnector.Environment |
environment
The environemnt configuration of this connector containing templates and other configurable elements. |
protected ConnectorParameters |
params
|
| Constructor Summary | |
EnvelopingBase64MOAConnector(ConnectorParameters connectorParameters)
Constructor that builds the configuration environment for this connector according to the given profile. |
|
| Method Summary | |
SignSignatureObject |
analyzeSignResponse(Properties response_properties)
Analyzes the sign response xml and extracts the signature data. |
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)
Prepares the sign request xml to be sent using the sign request template. |
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)
Prepares the XML content the holds the actual signature data. |
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 EnvelopingBase64MOAConnector.Environment environment
protected ConnectorParameters params
| Constructor Detail |
public EnvelopingBase64MOAConnector(ConnectorParameters connectorParameters)
throws ConnectorException
If confuguration parameters are not defined on that profile, the default parameters defined in the configuration are used.
ConnectorException - f.e.| Method Detail |
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)
protected Properties sendRequest(String url,
String mode,
String request_string)
throws ConnectorException
ConnectorException
protected String prepareSignRequest(SignatureData data)
throws ConnectorException
data - The SignatureData.
ConnectorException - f.e.
public String prepareVerifyRequest(SignatureData data,
SignSignatureObject so)
throws ConnectorException
data - The SignatureData.so - The signature information object.
ConnectorException - f.e.
public SignSignatureObject analyzeSignResponse(Properties response_properties)
throws ConnectorException
response_properties - The response properties containing the response String and
transport related information.
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
This strongly rebuilds the XML content as retuned from a sign request.
data - The data.so - The signature object containing the signature information.
ConnectorException - f.e.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||