Interface ExchangePairGenerator

  • All Known Implementing Classes:
    NHExchangePairGenerator

    public interface ExchangePairGenerator
    Interface for NewHope style key material exchange generators.
    • Method Detail

      • GenerateExchange

        ExchangePair GenerateExchange​(AsymmetricKeyParameter senderPublicKey)
        Deprecated.
        use generateExchange
        Generate an exchange pair based on the sender public key.
        Parameters:
        senderPublicKey - the public key of the exchange initiator.
        Returns:
        An ExchangePair derived from the sender public key.
      • generateExchange

        ExchangePair generateExchange​(AsymmetricKeyParameter senderPublicKey)
        Generate an exchange pair based on the sender public key.
        Parameters:
        senderPublicKey - the public key of the exchange initiator.
        Returns:
        An ExchangePair derived from the sender public key.