Documentation
    Preparing search index...

    Interface SenderContextParams

    The parameters used to setup the SenderContext.

    interface SenderContextParams {
        ekm?: ArrayBuffer | CryptoKeyPair;
        info?: ArrayBuffer;
        psk?: PreSharedKey;
        recipientPublicKey: CryptoKey;
        senderKey?: CryptoKey | CryptoKeyPair;
    }

    Hierarchy (View Summary)

    Index

    Properties

    ekm?: ArrayBuffer | CryptoKeyPair

    DO NOT USE. FOR DEBUGGING/TESTING PURPOSES ONLY.

    info?: ArrayBuffer

    Application supplied information. The maximum length is 128 bytes.

    A pre-shared key (PSK) held by both the sender and recipient. The PSK should have at least 32 bytes :and the maxmum length of the PSK is 128 bytes.

    recipientPublicKey: CryptoKey

    A recipient public key.

    senderKey?: CryptoKey | CryptoKeyPair

    A sender private key or a key pair for Auth mode.