Marmot-TS
    Preparing search index...

    Type Alias GenerateKeyPackageOptions

    Options for generating a marmot key package

    type GenerateKeyPackageOptions = {
        capabilities?: Capabilities;
        ciphersuiteImpl: CiphersuiteImpl;
        credential: Credential;
        extensions?: CustomExtension[];
        isLastResort?: boolean;
        lifetime?: Lifetime;
    }
    Index

    Core - Key Package

    capabilities?: Capabilities
    ciphersuiteImpl: CiphersuiteImpl
    credential: Credential
    extensions?: CustomExtension[]
    isLastResort?: boolean

    Whether to mark this KeyPackage as reusable using the MLS last_resort extension.

    • true: include the last_resort KeyPackage extension (reusable; helps with race windows)
    • false: omit the extension (single-use; private init_key is expected to be consumed)

    Default: true for backwards compatibility with existing marmot-ts behavior.

    lifetime?: Lifetime