iya-sts
    Preparing search index...

    Variable certificateLookupNames

    certificateLookupNames: (
        cert: any,
    ) => {
        authorityKeyIdentifier: string;
        issuer: any;
        selfIssued: boolean;
        subject: any;
        subjectKeyIdentifier: string;
    } = certificateLookupNames

    Type Declaration

      • (
            cert: any,
        ): {
            authorityKeyIdentifier: string;
            issuer: any;
            selfIssued: boolean;
            subject: any;
            subjectKeyIdentifier: string;
        }
      • Reads what an issuer lookup compares: the subject and issuer as canonical RDN lists, the subjectKeyIdentifier, and the keyIdentifier of the authorityKeyIdentifier, each as lower-case hex or '' where absent.

        Parameters

        • cert: any

          PEM text, DER bytes or a parsed certificate

        Returns {
            authorityKeyIdentifier: string;
            issuer: any;
            selfIssued: boolean;
            subject: any;
            subjectKeyIdentifier: string;
        }

        { subject, issuer, subjectKeyIdentifier, authorityKeyIdentifier, selfIssued }; selfIssued is the RFC 5280 section 3.3 sense, the two names equal, and says nothing about the signature

        Error when the input is not a certificate