iya-sts
    Preparing search index...

    Variable smimeKemPublicKeyOf

    smimeKemPublicKeyOf: (
        input: any,
    ) =>
        | { error: string; ok: boolean; raw?: undefined; spkiPem?: undefined }
        | {
            error?: undefined;
            name: any;
            oid: string;
            ok: boolean;
            raw: any;
            spkiPem: string;
        } = smimeKemPublicKeyOf

    Type Declaration

      • (
            input: any,
        ):
            | { error: string; ok: boolean; raw?: undefined; spkiPem?: undefined }
            | {
                error?: undefined;
                name: any;
                oid: string;
                ok: boolean;
                raw: any;
                spkiPem: string;
            }
      • Reads an ML-KEM public key (a SubjectPublicKeyInfo, PEM or DER) for an S/MIME certificate request.

        Parameters

        • input: any

          the PEM text, or the DER

        Returns
            | { error: string; ok: boolean; raw?: undefined; spkiPem?: undefined }
            | {
                error?: undefined;
                name: any;
                oid: string;
                ok: boolean;
                raw: any;
                spkiPem: string;
            }

        { ok, name, oid, raw, spkiPem }, or a refusal with error