@Deprecated public class TimeStampThread extends Thread
Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
TimeStampThread(byte[] digest,
X509Certificate authCert)
Deprecated.
|
TimeStampThread(byte[] digest,
X509Certificate authCert,
Map<String,String> timeStampRequestProperties)
Deprecated.
|
TimeStampThread(String digestAlgorithmOID,
byte[] digest,
X509Certificate authCert)
Deprecated.
|
TimeStampThread(String digestAlgorithmOID,
byte[] digest,
X509Certificate authCert,
Map<String,String> timeStampRequestProperties)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getAuthHash()
Deprecated.
Returns hash value to be signed.
|
protected byte[] |
getAuthSignature()
Deprecated.
|
String |
getAuthSignatureAlgorithm()
Deprecated.
Returns algorithm to be used for signing.
|
Exception |
getException()
Deprecated.
|
byte[] |
getTimeStamp()
Deprecated.
|
boolean |
isCancelled()
Deprecated.
|
void |
run()
Deprecated.
|
void |
setAuthSignature(byte[] signature)
Deprecated.
|
void |
setCancelled()
Deprecated.
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic TimeStampThread(byte[] digest,
X509Certificate authCert)
public TimeStampThread(byte[] digest,
X509Certificate authCert,
Map<String,String> timeStampRequestProperties)
public TimeStampThread(String digestAlgorithmOID, byte[] digest, X509Certificate authCert)
public TimeStampThread(String digestAlgorithmOID, byte[] digest, X509Certificate authCert, Map<String,String> timeStampRequestProperties)
public byte[] getAuthHash()
throws InterruptedException
InterruptedExceptiongetAuthSignatureAlgorithm()public String getAuthSignatureAlgorithm()
getAuthHash()public byte[] getTimeStamp()
throws InterruptedException
InterruptedExceptionpublic boolean isCancelled()
public void setCancelled()
public Exception getException()
protected byte[] getAuthSignature()
throws InterruptedException
InterruptedExceptionpublic void setAuthSignature(byte[] signature)