Crypto Lib
    Preparing search index...

    Interface GenerateKE2Input

    Inputs to generateKE2. Spread a ServerSetup into it.

    interface GenerateKE2Input {
        clientIdentity?: string | Uint8Array<ArrayBufferLike>;
        serverIdentity?: string | Uint8Array<ArrayBufferLike>;
        serverPrivateKey: Uint8Array;
        serverPublicKey: Uint8Array;
        oprfSeed: Uint8Array;
        record: RegistrationRecord;
        credentialIdentifier: string | Uint8Array<ArrayBufferLike>;
        ke1: KE1;
    }

    Hierarchy (View Summary)

    Index
    clientIdentity?: string | Uint8Array<ArrayBufferLike>

    Client identity (e.g. an account name). Default: the client's public key.

    serverIdentity?: string | Uint8Array<ArrayBufferLike>

    Server identity (e.g. a domain name). Default: the server's public key.

    serverPrivateKey: Uint8Array

    AKE private key.

    serverPublicKey: Uint8Array

    AKE public key (sent to clients at registration).

    oprfSeed: Uint8Array

    Nh-byte seed from which every credential's OPRF key is derived.

    The client's record, or the fake record for an unknown client.

    credentialIdentifier: string | Uint8Array<ArrayBufferLike>

    Identifier the record was registered under.

    ke1: KE1

    The client's KE1.