iya-sts
    Preparing search index...

    Variable certificateFacts

    certificateFacts: (
        cert: any,
    ) => {
        ca: boolean;
        critical: any[];
        curve: string;
        eku: any;
        fingerprint256: string;
        hasBasicConstraints: boolean;
        issuer: string;
        keyAlg: string;
        keyBits: number;
        keyUsage: any;
        notAfter: number;
        notBefore: number;
        pathLen: any;
        san: { dns: any[]; email: any[]; ip: any[]; uri: any[] };
        selfIssued: boolean;
        serialHex: string;
        sigAlg: any;
        spkiOid: any;
        spkiSha256: string;
        subject: string;
        weakSignature: string;
    } = certificateFacts

    Type Declaration

      • (
            cert: any,
        ): {
            ca: boolean;
            critical: any[];
            curve: string;
            eku: any;
            fingerprint256: string;
            hasBasicConstraints: boolean;
            issuer: string;
            keyAlg: string;
            keyBits: number;
            keyUsage: any;
            notAfter: number;
            notBefore: number;
            pathLen: any;
            san: { dns: any[]; email: any[]; ip: any[]; uri: any[] };
            selfIssued: boolean;
            serialHex: string;
            sigAlg: any;
            spkiOid: any;
            spkiSha256: string;
            subject: string;
            weakSignature: string;
        }
      • Reads one certificate's facts: the one reader every page, the inventory and the field checks use.

        Parameters

        • cert: any

          PEM text, DER bytes or a parsed certificate

        Returns {
            ca: boolean;
            critical: any[];
            curve: string;
            eku: any;
            fingerprint256: string;
            hasBasicConstraints: boolean;
            issuer: string;
            keyAlg: string;
            keyBits: number;
            keyUsage: any;
            notAfter: number;
            notBefore: number;
            pathLen: any;
            san: { dns: any[]; email: any[]; ip: any[]; uri: any[] };
            selfIssued: boolean;
            serialHex: string;
            sigAlg: any;
            spkiOid: any;
            spkiSha256: string;
            subject: string;
            weakSignature: string;
        }

        { subject, issuer, serialHex, notBefore, notAfter, selfIssued, ca, hasBasicConstraints, pathLen, keyUsage, eku, san, critical, fingerprint256, spkiSha256, sigAlg, weakSignature, keyAlg, keyBits, curve, spkiOid }; keyUsage and eku are null where the extension is absent, which is not the same as empty

        Error when the input is not a certificate