Package net.i2p.router.transport.crypto
Interface DHSessionKeyBuilder.Factory
-
- All Known Implementing Classes:
DHSessionKeyBuilder.PrecalcRunner
- Enclosing class:
- DHSessionKeyBuilder
public static interface DHSessionKeyBuilder.Factory
- Since:
- 0.9
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DHSessionKeyBuilder
getBuilder()
Construct a new DH key builder or pulls a prebuilt one from the queue.void
returnUnused(DHSessionKeyBuilder builder)
Return an unused DH key builder to be put back onto the queue for reuse.
-
-
-
Method Detail
-
getBuilder
DHSessionKeyBuilder getBuilder()
Construct a new DH key builder or pulls a prebuilt one from the queue.
-
returnUnused
void returnUnused(DHSessionKeyBuilder builder)
Return an unused DH key builder to be put back onto the queue for reuse.- Parameters:
builder
- must not have a peerPublicValue set- Since:
- 0.9.16
-
-