Interface DHSessionKeyBuilder.Factory

    • 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