LVE SDK
    Preparing search index...

    Interface CreateOptions

    Options for createLveFile.

    interface CreateOptions {
        credentials: CreateCredential[];
        fileId?: string;
        plaintext: Uint8Array;
        rpId: string;
    }
    Index

    Properties

    credentials: CreateCredential[]

    One or more credentials whose PRF outputs will each independently unlock the file.

    fileId?: string

    Pre-generated file ID (UUID v4). Must be the same UUID passed to authenticateWithPrf({ fileId }) when obtaining the PRF output. If omitted, a new UUID is generated — useful only when the PRF was evaluated during registration (credInfo.prfOutput is present).

    plaintext: Uint8Array

    Raw bytes to encrypt.

    rpId: string

    WebAuthn Relying Party ID — typically window.location.hostname.