|
DigiStamp.com | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.digistamp.pdf.TSAClientDigiStamp
public class TSAClientDigiStamp
Time Stamp Authority Client interface implementation using DigiStamp time
stamp servers. Provides failover capability among multiple time stamp
servers. See TSAClient for more details.
Provided by DigiStamp Inc. http://www.digistamp.com
| Constructor Summary | |
|---|---|
TSAClientDigiStamp()
|
|
| Method Summary | |
|---|---|
byte[] |
getTimeStampToken(com.lowagie.text.pdf.PdfPKCS7 caller,
byte[] imprint)
Get RFC 3161 timeStampToken. |
int |
getTokenSizeEstimate()
Get the time stamp token size estimate. |
void |
setConfigProperties(java.util.Properties digistampProperties)
DigiStamp local proxy configuration for failover and account access. |
void |
setReporter(Reporter aReporter)
Supplying a Reporter object allows the processing to report communications events. |
void |
setTrustedRootCertificate(java.security.cert.X509Certificate rootCert)
After the signature of the time stamp is verified, should the system check to see if that public key certificate that was used to verify the signature is trusted? |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TSAClientDigiStamp()
| Method Detail |
|---|
public byte[] getTimeStampToken(com.lowagie.text.pdf.PdfPKCS7 caller,
byte[] imprint)
throws java.lang.Exception
getTimeStampToken in interface com.lowagie.text.pdf.TSAClientcaller - PdfPKCS7 - calling PdfPKCS7 instance (can be null)imprint - byte[] - the SHA-1 data imprint to be time-stamped
java.lang.Exception - - TSA request failed - Time stamp did not verify correctly
with public keypublic int getTokenSizeEstimate()
getTokenSizeEstimate in interface com.lowagie.text.pdf.TSAClientpublic void setConfigProperties(java.util.Properties digistampProperties)
DigiStamp configuration properties. An example configuration file was
provided in "DigiStamp.properties"; you will need to add your account
number and password to the file "DigiStamp.properties". More
configuration details are here: TSAConfig.
public void setReporter(Reporter aReporter)
aReporter - com.digistamp.tsp.Reporterpublic void setTrustedRootCertificate(java.security.cert.X509Certificate rootCert)
See
TSAClient.setTrustedRootCertificate(X509Certificate)
for more details.
|
Copyright 2000-2010 DigiStamp, Inc. | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||