iya-sts
    Preparing search index...

    Variable setSmimeCertificate

    setSmimeCertificate: (username: string, certificate: string, ctx: any) => any = ...

    Type Declaration

      • (username: string, certificate: string, ctx: any): any
      • Sets a person's S/MIME certificate (userSMIMECertificate): one PEM or base64 DER certificate that can receive S/MIME now and names the entry's address (its subjectAltName rfc822Name or the subject's emailAddress).

        Parameters

        • username: string

          the person

        • certificate: string

          the certificate; empty removes it

        • ctx: any

          { actor, via }

        Returns any

        { ok, subject, serial } or { ok, removed }, or a coded refusal