|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--demo.x509.ocsp.OCSPServerThread
Thread for the simple OCSP server demo
.
This class is part of the IAIK OCSP client - server demo.
When starting the demo server
, it listens
on port 9999 for OCSP requests which may be sent by the IAIK OCSP demo
client
. For each request posted an
OCSPServerThread is created for handling the request.
The keys and certificates required for this demo are obtained from the
IAIK-JCE demo keystore "jce.keystore" which may be generated by running
the SetupKeyStore
program or a read
in by the OCSPServer
.
OCSPServer
,
OCSPClient
,
HttpOCSPClient
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
OCSPServerThread(Socket socket,
ResponseGenerator responseGenerator,
AlgorithmID signatureAlgorithm)
Creates an OCSP server thread for handling an OCSPRequest. |
Method Summary | |
void |
run()
Handles the client request. |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public OCSPServerThread(Socket socket, ResponseGenerator responseGenerator, AlgorithmID signatureAlgorithm)
socket
- the socket from which to read the request and to which
to send the responseresponseGenerator
- a ResponseGenerator
object
used for request parsing and response creation taskssignatureAlgorithm
- the algorithm used for signing the responseMethod Detail |
public void run()
run
in class Thread
|
This Javadoc may contain text parts from Internet Standard specifications (RFC 2459, 3280, 3039, 2560, 1521, 821, 822, 2253, 1319, 1321, ,2630, 2631, 2268, 3058, 2984, 2104, 2144, 2040, 2311, 2279, see copyright note) and RSA Data Security Public-Key Cryptography Standards (PKCS#1,3,5,7,8,9,10,12, see copyright note). | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |