iya-sts
    Preparing search index...

    Variable smimeRecipientCertificate

    smimeRecipientCertificate: (values: any, at: any) => any = smimeRecipientCertificate

    Type Declaration

      • (values: any, at: any): any
      • Chooses the certificate an S/MIME message to a person is encrypted to, from the values of their userSMIMECertificate: the first, in order, that is valid now and fit to receive.

        Parameters

        • values: any

          the attribute's values (Buffers or base64)

        • at: any

          the instant (a Date)

        Returns any

        { ok: true, der, emails, subject, serial }, or a coded refusal (STS-OPENPGP-0011)