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

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

public class VerifyCMSSignatureResponseBuilder
extends Object

A class to build a VerifyCMSSignatureResponse object.

Via subsequent calls to addResult() a number of results from a CMS signature verification can be added to the response.

The getResponseElement() method then returns the VerifyCMSSignatureResponse built so far.

Version:
$Id$
Author:
Patrick Peck

Constructor Summary
VerifyCMSSignatureResponseBuilder()
           
 
Method Summary
 void addResult(iaik.server.modules.cmsverify.CMSSignatureVerificationResult result)
          Add a verification result to the response.
 at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureResponse getResponse()
          Get the VerifyCMSSignatureResponse built so far.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerifyCMSSignatureResponseBuilder

public VerifyCMSSignatureResponseBuilder()
Method Detail

getResponse

public at.gv.egovernment.moa.spss.api.cmsverify.VerifyCMSSignatureResponse getResponse()
Get the VerifyCMSSignatureResponse built so far.
Returns:
The VerifyCMSSignatureResponse built so far.

addResult

public void addResult(iaik.server.modules.cmsverify.CMSSignatureVerificationResult result)
               throws MOAApplicationException
Add a verification result to the response.
Parameters:
result - The result to add.
Throws:
MOAApplicationException - An error occurred adding the result.