Interface DHSessionKeyBuilder.Factory

All Known Implementing Classes:
DHSessionKeyBuilder.PrecalcRunner
Enclosing class:
DHSessionKeyBuilder

public static interface DHSessionKeyBuilder.Factory
Since:
0.9
  • Method Summary

    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 Details

    • 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