Closed Bug 1531236 Opened 5 years ago Closed 5 years ago

Provide accessor for CERTCertificate.derCert

Categories

(NSS :: Libraries, enhancement, P2)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

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.

Severity: normal → enhancement
Priority: -- → P2

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.

Status: NEW → RESOLVED
Closed: 5 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.

Attachment

General

Created:
Updated:
Size: