Closed
Bug 306728
Opened 19 years ago
Closed 9 years ago
nsIX509CertDB::ImportCertsFromFile doesn't tell me how many certs were imported
Categories
(Core :: Security: PSM, defect)
Core
Security: PSM
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: sfraser_bugs, Unassigned)
Details
(Whiteboard: [kerh-ehz])
I'm calling nsIX509CertDB::ImportCertsFromFile in an embedding app to allow the user to import certs from files. However, nsIX509CertDB::ImportCertsFromFile() doesn't tell me how many certs were in the file, and how many of those were imported successfully; even if none of the certs were imported (because their validity check failed), the method just returns NS_OK. This prevents me from creating a good user experience; I can't tell the user why no new certs appear when they try to import. Also, I wonder why this method has to check the cert chain before importing. Why not just import all the certs, even if they don't have valid chains? Shouldn't I be able to make the chain valid later by adding an issuer cert?
Updated•19 years ago
|
Whiteboard: [kerh-ehz]
Updated•18 years ago
|
QA Contact: psm
Comment 2•9 years ago
|
||
It doesn't seem like this is an urgently-needed feature.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•