at.gv.egovernment.moa.spss.server.invoke
Class VerifyXMLSignatureResponseBuilder
java.lang.Object
|
+--at.gv.egovernment.moa.spss.server.invoke.VerifyXMLSignatureResponseBuilder
- public class VerifyXMLSignatureResponseBuilder
- extends Object
A class to build a VerifyXMLSignatureResponse
object.
Via a call to addResult()
the only result of the
signature verification must be added.
The getResponseElement()
method then returns the
VerifyXMLSignatureResponse
built so far.
- Version:
- $Id$
- Author:
- Patrick Peck
Method Summary |
at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureResponse |
getResponse()
Get the VerifyMLSignatureResponse built so far. |
void |
setResult(iaik.server.modules.xmlverify.XMLSignatureVerificationResult result,
iaik.server.modules.xmlverify.XMLSignatureVerificationProfile profile,
at.gv.egovernment.moa.spss.api.xmlverify.ReferencesCheckResult transformsSignatureManifestCheck)
Sets the verification result to the response.
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VerifyXMLSignatureResponseBuilder
public VerifyXMLSignatureResponseBuilder()
getResponse
public at.gv.egovernment.moa.spss.api.xmlverify.VerifyXMLSignatureResponse getResponse()
- Get the
VerifyMLSignatureResponse
built so far.
- Returns:
- The
VerifyXMLSignatureResponse
built so far.
setResult
public void setResult(iaik.server.modules.xmlverify.XMLSignatureVerificationResult result,
iaik.server.modules.xmlverify.XMLSignatureVerificationProfile profile,
at.gv.egovernment.moa.spss.api.xmlverify.ReferencesCheckResult transformsSignatureManifestCheck)
throws MOAApplicationException
- Sets the verification result to the response.
This method must be called exactly once to ensure a valid
VerifyXMLSignatureResponse
.
- Parameters:
result
- The result to set for the response.profile
- The profile used for verifying the signature.- Throws:
MOAApplicationException
- An error occurred adding the result.