Closed
Bug 1531236
Opened 6 years ago
Closed 6 years ago
Provide accessor for CERTCertificate.derCert
Categories
(NSS :: Libraries, enhancement, P2)
NSS
Libraries
Tracking
(Not tracked)
RESOLVED
FIXED
3.44
People
(Reporter: mt, Assigned: mt)
Details
Attachments
(1 file)
It's an unfortunate condition that CERTCertificate is completely open, but that doesn't mean we need to force people to poke around in the struct.
The field most often accessed is |derCert|. An accessor for this would be helpful. For context, I'm building bindings for Rust, and would prefer to treat the struct as opaque so that the FFI doesn't pull in a bunch of unnecessary types.
Updated•6 years ago
|
Severity: normal → enhancement
Priority: -- → P2
Assignee | ||
Comment 1•6 years ago
|
||
Forgot to put this up. This will make the neqo wrapper considerably more
hygenic. Having to explode the entire CERTCertificate struct (which is public
and never should have been) into the FFI is a complete disaster. Better to
treat it as opaque and use an accessor function.
Assignee | ||
Comment 2•6 years ago
|
||
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: 3.43 → 3.44
You need to log in
before you can comment on or make changes to this bug.
Description
•