at.gv.egiz.pdfas.framework
Class ConnectorParameters

java.lang.Object
  extended byat.gv.egiz.pdfas.framework.ConnectorParameters

public class ConnectorParameters
extends Object

Parameters passed to the constructor of the Connector.

Each Connector must have a constructor accepting this parameter class as an argument.

Author:
wprinz

Field Summary
protected  String profileId
          The profile Id to get the connector parameters from.
protected  boolean returnHashInputData
          Tells, if the connector should ask the device to return the hash input data.
protected  String signatureKeyIdentifier
          The signature key identifier to be used or null if it should be read from the profile.
protected  Date verificationTime
          Allows to specify an explicit time of verification.
 
Constructor Summary
ConnectorParameters()
           
 
Method Summary
 String getProfileId()
           
 String getSignatureKeyIdentifier()
           
 Date getVerificationTime()
           
 boolean isReturnHashInputData()
           
 void setProfileId(String profileId)
           
 void setReturnHashInputData(boolean returnHashInputData)
           
 void setSignatureKeyIdentifier(String signatureKeyIdentifier)
           
 void setVerificationTime(Date verificationTime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

profileId

protected String profileId
The profile Id to get the connector parameters from.

The there are no explicit parameters for the connector in the profile, the default parameters are used.


signatureKeyIdentifier

protected String signatureKeyIdentifier
The signature key identifier to be used or null if it should be read from the profile.

Currently this is only used by MOA connectors and identifies the MOA key group to be used when signing. If null, the MOA connector reads the key from the profile.


returnHashInputData

protected boolean returnHashInputData
Tells, if the connector should ask the device to return the hash input data.

Note that not all connectors support to return the hash input data - so there is no guarantee that the hash value will actually be returned.


verificationTime

protected Date verificationTime
Allows to specify an explicit time of verification.

If null, the device's default behaviour determines the time of verification, which is usually the current time.

The time of verification usually influences the certificate check. E.g. the certificate may not be valid at the time of verification.

Constructor Detail

ConnectorParameters

public ConnectorParameters()
Method Detail

getProfileId

public String getProfileId()

setProfileId

public void setProfileId(String profileId)

getSignatureKeyIdentifier

public String getSignatureKeyIdentifier()

setSignatureKeyIdentifier

public void setSignatureKeyIdentifier(String signatureKeyIdentifier)

isReturnHashInputData

public boolean isReturnHashInputData()

setReturnHashInputData

public void setReturnHashInputData(boolean returnHashInputData)

getVerificationTime

public Date getVerificationTime()

setVerificationTime

public void setVerificationTime(Date verificationTime)


Copyright © 2006-2010. All Rights Reserved.