|
|||||||||||
| 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.MOASoapWithAttachmentConnector
Connects to MOA providing the Data detached as LocRef on a local resource.
| Nested Class Summary | |
static class |
MOASoapWithAttachmentConnector.Environment
Holds environment configuration information like templates. |
| Field Summary | |
static String |
ATRUST_VERIFY_TEMPLATE_KEY
|
protected MOASoapWithAttachmentConnector.Environment |
environment
The environemnt configuration of this connector containing templates and other configurable elements. |
protected static String |
MULTIPART_LOC_REF_CONTENT
|
protected ConnectorParameters |
params
The connector parameters. |
protected static String |
RETURN_HASH_INPUT_DATA
|
| Constructor Summary | |
MOASoapWithAttachmentConnector(ConnectorParameters connectorParameters)
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)
|
void |
reInitVerifyTemplate(String templatePropKey)
|
protected Properties |
sendRequest(String url,
String mode,
String request_string,
SignatureData data)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String ATRUST_VERIFY_TEMPLATE_KEY
protected static final String MULTIPART_LOC_REF_CONTENT
protected static final String RETURN_HASH_INPUT_DATA
protected ConnectorParameters params
protected MOASoapWithAttachmentConnector.Environment environment
| Constructor Detail |
public MOASoapWithAttachmentConnector(ConnectorParameters connectorParameters)
throws ConnectorException
If confuguration parameters are not defined on that profile, the default parameters defined in the configuration are used.
connectorParameters - The parameters for this connector.
ConnectorException - f.e.| 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,
SignatureData data)
throws ConnectorException
ConnectorException
public void reInitVerifyTemplate(String templatePropKey)
throws ConnectorException
ConnectorException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||