public class X25519KeyFactory
extends net.i2p.util.I2PThread
implements net.i2p.crypto.KeyFactory
net.i2p.util.I2PThread.OOMEventListenerThread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
X25519KeyFactory(net.i2p.I2PAppContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
net.i2p.crypto.KeyPair |
getKeys()
Pulls a prebuilt keypair from the queue,
or if not available, construct a new one.
|
void |
returnUnused(net.i2p.crypto.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, startactiveCount, 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, stop, stop, suspend, toString, yieldpublic void shutdown()
public void run()
public net.i2p.crypto.KeyPair getKeys()
getKeys in interface net.i2p.crypto.KeyFactorypublic void returnUnused(net.i2p.crypto.KeyPair kp)