Interface IKeyExchange

    • Method Detail

      • getPublicKey

        byte[] getPublicKey()
        Returns the generated public key.
        Returns:
        Generated public key.
      • generateSymKey

        byte[] generateSymKey​(byte[] remotekey)
        Generates the shared symmetric key given the remote public key.
        Parameters:
        remotekey - The remote public key.
        Returns:
        Shared symmetric key;