iya-sts
    Preparing search index...
    describe: (
        pem: string,
    ) => Promise<
        {
            fields: {
                signatureAlgorithm: { name: string; oid: string; parameters: string };
                signatureAlgorithmsAgree: boolean;
                signatureValue: { hex: any; octets: any };
                tbsCertificate: {
                    extensions: any;
                    issuer: { attributes: any; text: string };
                    issuerUniqueID: any;
                    serialNumber: { decimal: string; hex: any; octets: number };
                    signature: { name: string; oid: string; parameters: string };
                    subject: { attributes: any; text: string };
                    subjectPublicKeyInfo: {
                        algorithm: { name: any; oid: any; parameters: string };
                        description: string;
                        key: KeyFacts;
                        publicKeyHex: any;
                        publicKeyOctets: any;
                        spkiSha256: any;
                    };
                    subjectUniqueID: any;
                    validity: {
                        notAfter: { iso: string; type: string };
                        notBefore: { iso: string; type: string };
                    };
                    version: { encoded: number; value: any };
                };
            };
            fingerprint: string;
            fingerprints: { sha1: string; sha256: string };
            pem: string;
            summary: {
                ca: any;
                daysRemaining: number;
                expired: boolean;
                extensionCount: any;
                issuer: any;
                notAfter: any;
                notBefore: any;
                notYetValid: boolean;
                publicKey: string;
                selfIssued: boolean;
                serialHex: any;
                signatureAlgorithm: any;
                subject: any;
            };
        },
    > = ...

    Type Declaration

      • (
            pem: string,
        ): Promise<
            {
                fields: {
                    signatureAlgorithm: { name: string; oid: string; parameters: string };
                    signatureAlgorithmsAgree: boolean;
                    signatureValue: { hex: any; octets: any };
                    tbsCertificate: {
                        extensions: any;
                        issuer: { attributes: any; text: string };
                        issuerUniqueID: any;
                        serialNumber: { decimal: string; hex: any; octets: number };
                        signature: { name: string; oid: string; parameters: string };
                        subject: { attributes: any; text: string };
                        subjectPublicKeyInfo: {
                            algorithm: { name: any; oid: any; parameters: string };
                            description: string;
                            key: KeyFacts;
                            publicKeyHex: any;
                            publicKeyOctets: any;
                            spkiSha256: any;
                        };
                        subjectUniqueID: any;
                        validity: {
                            notAfter: { iso: string; type: string };
                            notBefore: { iso: string; type: string };
                        };
                        version: { encoded: number; value: any };
                    };
                };
                fingerprint: string;
                fingerprints: { sha1: string; sha256: string };
                pem: string;
                summary: {
                    ca: any;
                    daysRemaining: number;
                    expired: boolean;
                    extensionCount: any;
                    issuer: any;
                    notAfter: any;
                    notBefore: any;
                    notYetValid: boolean;
                    publicKey: string;
                    selfIssued: boolean;
                    serialHex: any;
                    signatureAlgorithm: any;
                    subject: any;
                };
            },
        >
      • Describes one certificate whole, its fields in ASN.1 order.

        Parameters

        • pem: string

          the certificate

        Returns Promise<
            {
                fields: {
                    signatureAlgorithm: { name: string; oid: string; parameters: string };
                    signatureAlgorithmsAgree: boolean;
                    signatureValue: { hex: any; octets: any };
                    tbsCertificate: {
                        extensions: any;
                        issuer: { attributes: any; text: string };
                        issuerUniqueID: any;
                        serialNumber: { decimal: string; hex: any; octets: number };
                        signature: { name: string; oid: string; parameters: string };
                        subject: { attributes: any; text: string };
                        subjectPublicKeyInfo: {
                            algorithm: { name: any; oid: any; parameters: string };
                            description: string;
                            key: KeyFacts;
                            publicKeyHex: any;
                            publicKeyOctets: any;
                            spkiSha256: any;
                        };
                        subjectUniqueID: any;
                        validity: {
                            notAfter: { iso: string; type: string };
                            notBefore: { iso: string; type: string };
                        };
                        version: { encoded: number; value: any };
                    };
                };
                fingerprint: string;
                fingerprints: { sha1: string; sha256: string };
                pem: string;
                summary: {
                    ca: any;
                    daysRemaining: number;
                    expired: boolean;
                    extensionCount: any;
                    issuer: any;
                    notAfter: any;
                    notBefore: any;
                    notYetValid: boolean;
                    publicKey: string;
                    selfIssued: boolean;
                    serialHex: any;
                    signatureAlgorithm: any;
                    subject: any;
                };
            },
        >

        a promise of the inspector's summary and every field: names RDN by RDN, validity with its time type, the key, the extensions and both signature algorithms