kaios-types
    Preparing search index...

    Interface SESession

    Represents a session with a Secure Element. Preference: "dom.secureelement.enabled"

    secureelement-manage

    CertifiedApps

    interface SESession {
        isClosed: boolean;
        reader: SEReader;
        closeAll(): Promise<void>;
        openLogicalChannel(aid: Uint8Array<ArrayBuffer> | null): Promise<SEChannel>;
    }
    Index

    Properties

    isClosed: boolean

    Whether the session is closed.

    reader: SEReader

    The reader associated with this session.

    Methods

    • Opens a logical channel to an applet.

      Parameters

      • aid: Uint8Array<ArrayBuffer> | null

        The Applet ID.

      Returns Promise<SEChannel>

      A promise resolving to the channel.