@websign/sdk - v0.1.0
    Preparing search index...

    Interface CertificateProfile

    What the certificate declares; the app never claims legal qualification. Your site decides which profiles it accepts.

    const qualified =
    /^A[34]$/.test(profile.icpBrasil ?? "") || (profile.eidas?.qualified && profile.eidas.qscd);
    interface CertificateProfile {
        icpBrasil?: string;
        eidas?: { qualified: boolean; qscd: boolean; types: readonly EidasType[] };
        keyStorage: KeyStorage;
    }
    Index
    icpBrasil?: string

    ICP-Brasil class ("A3", "S1", "T3"…), "ICP-Brasil" when unknown, absent when not ICP-Brasil.

    eidas?: { qualified: boolean; qscd: boolean; types: readonly EidasType[] }

    Present when the certificate has ETSI qcStatements.

    keyStorage: KeyStorage

    Where the private key lives, as far as the key store can tell.