Closed Bug 152984 Opened 23 years ago Closed 23 years ago

RFE: Need a way to obtain the list of all email addresses in a cert.

Categories

(NSS :: Libraries, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 152986

People

(Reporter: ssaux, Assigned: wtc)

Details

We currenlty can't adhere to the S/MIME standards that specify that a cert can contain multiple email addresses because the only api in the s/mime libraries is: char * NSS_CMSSignerInfo_GetSignerEmailAddress() Note that NSS_CMSSignerInfo_GetSignerEmailAddress returns CERTCertificate.emailAddr, which is created by a call to lib/certdb/alg1485.c:CERT_GetCertificateEmailAddress(CERTCertificate *cert) That function seems to be looking at all the right places, but only returns one email address. The very existence of CERTCErtificate.emailAddr is questionable, since certs can have more than one. Maybe we can add a field to CERTCertificate that would contain a list of email addresses? Maybe we can have a function that computes the list on demand? What do you think?
*** This bug has been marked as a duplicate of 152986 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.