at.gv.egovernment.moa.spss.server.invoke
Class CMSSignatureVerificationInvoker

java.lang.Object
  |
  +--at.gv.egovernment.moa.spss.server.invoke.CMSSignatureVerificationInvoker

public class CMSSignatureVerificationInvoker
extends Object

A class providing an interface to the CMSSignatureVerificationModule. This class performs the invocation of the iaik.server.modules.cmsverify.CMSSignatureVerificationModule from a VerifyCMSSignatureRequest. The result of the invocation is integrated into a VerifyCMSSignatureResponse returned.

Version:
$Id$
Author:
Patrick Peck

Constructor Summary
protected CMSSignatureVerificationInvoker()
          Create a new CMSSignatureVerificationInvoker.
 
Method Summary
static CMSSignatureVerificationInvoker getInstance()
          Return the only instance of this class.
 at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureResponse verifyCMSSignature(at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureRequest request)
          Verify a CMS signature.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMSSignatureVerificationInvoker

protected CMSSignatureVerificationInvoker()
Create a new CMSSignatureVerificationInvoker. Protected to disallow multiple instances.
Method Detail

getInstance

public static CMSSignatureVerificationInvoker getInstance()
Return the only instance of this class.
Returns:
The only instance of this class.

verifyCMSSignature

public at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureResponse verifyCMSSignature(at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureRequest request)
                                                                                       throws MOAException
Verify a CMS signature.
Parameters:
request - The VerifyCMSSignatureRequest containing the CMS signature, as well as additional data needed for verification.
Returns:
Element A VerifyCMSSignatureResponse containing the answer to the VerifyCMSSignatureRequest.
Throws:
MOAException - An error occurred while processing the request.