Interface AgreementFactory<T extends Parameters>

    • Method Detail

      • createAgreement

        Agreement<T> createAgreement​(AsymmetricPrivateKey key,
                                     T parameters)
        Return an initialised agreement set up for the passed in key.
        Parameters:
        key - the key to base the agreement on.
        parameters - agreement parameters.
        Returns:
        an initialised Agreement.