edgeport - v1.0.3
    Preparing search index...

    Interface KexMethod

    A key-exchange method instance with its ephemeral key and derivation.

    interface KexMethod {
        hash: HashName;
        publicKey: Uint8Array;
        deriveSecret(
            peerPublicKey: Uint8Array,
        ): Promise<Uint8Array<ArrayBufferLike>>;
    }
    Index
    hash: HashName
    publicKey: Uint8Array

    Our ephemeral public key (Q_C).

    • Derives the shared secret magnitude K from the server's Q_S.

      Parameters

      • peerPublicKey: Uint8Array

      Returns Promise<Uint8Array<ArrayBufferLike>>