iya-sts
    Preparing search index...

    Variable attestationCertificateFacts

    attestationCertificateFacts: (
        der: any,
    ) => {
        ca: any;
        curve: string;
        eku: any[];
        extensions: {};
        keyType: string;
        pem: any;
        publicKeyJwk: any;
        sanDirectoryTypes: any[];
        subject: {};
        subjectAltName: string;
        subjectEmpty: boolean;
        subjectText: string;
        version: number;
    } = attestationCertificateFacts

    Type Declaration

      • (
            der: any,
        ): {
            ca: any;
            curve: string;
            eku: any[];
            extensions: {};
            keyType: string;
            pem: any;
            publicKeyJwk: any;
            sanDirectoryTypes: any[];
            subject: {};
            subjectAltName: string;
            subjectEmpty: boolean;
            subjectText: string;
            version: number;
        }
      • Reads the facts of a WebAuthn attestation certificate.

        sanDirectoryTypes are the attribute types inside subjectAltName's directoryName entries, where a TPM AIK certificate names its TPM.

        Parameters

        • der: any

          the certificate's DER

        Returns {
            ca: any;
            curve: string;
            eku: any[];
            extensions: {};
            keyType: string;
            pem: any;
            publicKeyJwk: any;
            sanDirectoryTypes: any[];
            subject: {};
            subjectAltName: string;
            subjectEmpty: boolean;
            subjectText: string;
            version: number;
        }

        { version, subject, subjectEmpty, ca, eku, extensions, sanDirectoryTypes, publicKeyJwk, keyType, curve }, or null when it is not a certificate