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
Modifier and TypeMethodDescriptionConstruct 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 Details
-
getBuilder
DHSessionKeyBuilder getBuilder()Construct a new DH key builder or pulls a prebuilt one from the queue. -
returnUnused
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
-