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

All Known Implementing Classes:
DetachedBKUConnector, DetachedLocRefMOAConnector, EnvelopedBase64BKUConnector, EnvelopingBase64MOAConnector, LocRefDetachedMOCCAConnector, MOASoapWithAttachmentConnector

public interface Connector

Author:
wprinz

Method Summary
 SignSignatureObject doSign(SignatureData data)
          Performs a sign.
 SignatureResponse doVerify(SignatureData data, SignSignatureObject so)
          Performs a verification.
 

Method Detail

doSign

public SignSignatureObject doSign(SignatureData data)
                           throws ConnectorException
Performs a sign.

Parameters:
data - The data to be signed.
Returns:
Returns the signature object containing the signature data.
Throws:
ConnectorException - Thrown if something goes wrong.

doVerify

public SignatureResponse doVerify(SignatureData data,
                                  SignSignatureObject so)
                           throws ConnectorException
Performs a verification.

Parameters:
data - The data to be verified.
so - The signature object with the signature information.
Returns:
Returns the SignatureResponse with the result of the verification.
Throws:
ConnectorException - Thrown if something goes wrong.


Copyright © 2006-2010. All Rights Reserved.