iya-sts
    Preparing search index...

    Variable selfSignedMlDsaCertificate

    selfSignedMlDsaCertificate: (
        opts: any,
    ) => {
        algorithm: string;
        certB64: string;
        certPem: string;
        notAfter: Date;
        notBefore: Date;
        privateKeyPem: any;
        publicKeyPem: any;
    } = selfSignedMlDsaCertificate

    Type Declaration

      • (
            opts: any,
        ): {
            algorithm: string;
            certB64: string;
            certPem: string;
            notAfter: Date;
            notBefore: Date;
            privateKeyPem: any;
            publicKeyPem: any;
        }
      • Makes an ML-DSA key pair and a self-signed certificate over it (FIPS 204, RFC 9881). Needs a runtime that can generate ML-DSA keys.

        Parameters

        • opts: any

          algorithm, commonName, organizationName, dnsNames, ipAddresses, years, and serialNumber or serialPrefix

        Returns {
            algorithm: string;
            certB64: string;
            certPem: string;
            notAfter: Date;
            notBefore: Date;
            privateKeyPem: any;
            publicKeyPem: any;
        }

        { algorithm, privateKeyPem, publicKeyPem, certPem, certB64, notBefore, notAfter }