at.gv.egiz.pdfas.api.verify
Class VerifyAfterAnalysisParameters

java.lang.Object
  extended by at.gv.egiz.pdfas.api.verify.VerifyAfterAnalysisParameters

public class VerifyAfterAnalysisParameters
extends Object

Parameter object that holds the verify after analysis parameters.

Author:
wprinz

Field Summary
protected  AnalyzeResult analyzeResult
          The list of signatures to be verified.
protected  boolean returnHashInputData
          Tells the signature device (e.g.
protected  String signatureDevice
          The signature device to perform the actual signature.
protected  Date verificationTime
          Allows to pass a VerificationTime to the signature device.
protected  int verifySignatureIndex
          The index of the signature to be verified.
 
Constructor Summary
VerifyAfterAnalysisParameters()
           
 
Method Summary
 AnalyzeResult getAnalyzeResult()
           
 String getSignatureDevice()
           
 Date getVerificationTime()
           
 int getVerifySignatureIndex()
           
 boolean isReturnHashInputData()
           
 boolean isSuppressVerifyExceptions()
           
 void setAnalyzeResult(AnalyzeResult analyzeResult)
           
 void setReturnHashInputData(boolean returnHashInputData)
           
 void setSignatureDevice(String signatureDevice)
           
 void setSuppressVerifyExceptions(boolean suppress)
           
 void setVerificationTime(Date verificationTime)
           
 void setVerifySignatureIndex(int verify_which)
          Set the index of the signature to verify (index starting at 0).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

analyzeResult

protected AnalyzeResult analyzeResult
The list of signatures to be verified.


signatureDevice

protected String signatureDevice
The signature device to perform the actual signature.

May be Constants.SIGNATURE_DEVICE_MOA or Constants.SIGNATURE_DEVICE_BKU.


verificationTime

protected Date verificationTime
Allows to pass a VerificationTime to the signature device.


returnHashInputData

protected boolean returnHashInputData
Tells the signature device (e.g. MOA) to return the signature hash input data (which is the probably transformed signed data).

Note that this forces MOA to return the potentially large signature data to be returned in the result XML, which may result in very bad performance.


verifySignatureIndex

protected int verifySignatureIndex
The index of the signature to be verified. A value < 0 indicates to verify all signatures.

Constructor Detail

VerifyAfterAnalysisParameters

public VerifyAfterAnalysisParameters()
Method Detail

getAnalyzeResult

public AnalyzeResult getAnalyzeResult()
Returns:
the analyzeResult

setAnalyzeResult

public void setAnalyzeResult(AnalyzeResult analyzeResult)
Parameters:
analyzeResult - the analyzeResult to set

getSignatureDevice

public String getSignatureDevice()
Returns:
the signatureDevice

setSignatureDevice

public void setSignatureDevice(String signatureDevice)
Parameters:
signatureDevice - the signatureDevice to set

getVerificationTime

public Date getVerificationTime()
Returns:
the verificationTime

setVerificationTime

public void setVerificationTime(Date verificationTime)
Parameters:
verificationTime - the verificationTime to set

isReturnHashInputData

public boolean isReturnHashInputData()
Returns:
the returnHashInputData

setReturnHashInputData

public void setReturnHashInputData(boolean returnHashInputData)
Parameters:
returnHashInputData - the returnHashInputData to set

setVerifySignatureIndex

public void setVerifySignatureIndex(int verify_which)
Set the index of the signature to verify (index starting at 0). A value < 0 indicates to verify all values.

Parameters:
verify_which -

getVerifySignatureIndex

public int getVerifySignatureIndex()

setSuppressVerifyExceptions

public void setSuppressVerifyExceptions(boolean suppress)
Parameters:
suppress -
See Also:
VerifyParameters.setSuppressVerifyExceptions(boolean)

isSuppressVerifyExceptions

public boolean isSuppressVerifyExceptions()


Copyright © 2006-2011. All Rights Reserved.