Runnable
public class X25519KeyFactory extends I2PThread
I2PThread.OOMEventListener
Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor | Description |
---|---|
X25519KeyFactory(I2PAppContext ctx) |
Modifier and Type | Method | Description |
---|---|---|
KeyPair |
getKeys() |
Pulls a prebuilt keypair from the queue,
or if not available, construct a new one.
|
void |
returnUnused(KeyPair kp) |
Return an unused DH key builder
to be put back onto the queue for reuse.
|
void |
run() |
|
void |
shutdown() |
Note that this stops the singleton precalc thread.
|
addOOMEventListener, fireOOM, removeOOMEventListener, start
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, stop, stop, suspend, toString, yield
public X25519KeyFactory(I2PAppContext ctx)
public void shutdown()
public KeyPair getKeys()
public void returnUnused(KeyPair kp)