public static interface DHSessionKeyBuilder.Factory
Modifier and Type | Method and 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.
|
DHSessionKeyBuilder getBuilder()
void returnUnused(DHSessionKeyBuilder builder)
builder
- must not have a peerPublicValue set