at.knowcenter.wag.egov.egiz.sig.connectors
Interface LocalConnector

All Known Implementing Classes:
DetachedBKUConnector, EnvelopedBase64BKUConnector, LocRefDetachedMOCCAConnector

public interface LocalConnector

Author:
wprinz

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.
 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.
 

Method Detail

prepareSignRequest

public String prepareSignRequest(SignatureData data)
                          throws ConnectorException
Prepares the sign request xml to be sent using the sign request template.

Parameters:
data - The SignatureData.
Returns:
Returns the sign request xml to be sent.
Throws:
ConnectorException - f.e.

analyzeSignResponse

public SignSignatureObject analyzeSignResponse(Properties response_properties)
                                        throws ConnectorException
Analyzes the sign response xml and extracts the signature data.

Parameters:
response_properties - The response properties containing the response String and transport related information.
Returns:
Returns the extracted data encapsulated in a SignatureObject.
Throws:
ConnectorException - f.e.

prepareVerifyRequest

public String prepareVerifyRequest(SignatureData data,
                                   SignSignatureObject so)
                            throws ConnectorException
Prepares the verify request xml to be sent using the verify request template.

Parameters:
data - The SignatureData.
so - The signature information object.
Returns:
Returns the verify request xml to be sent.
Throws:
ConnectorException - f.e.

analyzeVerifyResponse

public SignatureResponse analyzeVerifyResponse(Properties response_properties)
                                        throws ConnectorException
Analyzes the verify response string.

Parameters:
response_properties - The response properties containing the response XML.
Returns:
Returns the SignatureResponse containing the verification result.
Throws:
ConnectorException - f.e.


Copyright © 2006-2010. All Rights Reserved.