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)
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.