Closed Bug 1003413 Opened 10 years ago Closed 6 months ago

Potentially implement SEC_NumberOrNameStringToOIDTag

Categories

(NSS :: Libraries, enhancement, P5)

3.16
enhancement

Tracking

(Not tracked)

RESOLVED INACTIVE
Future

People

(Reporter: KaiE, Unassigned)

Details

In bug 970539, Bob has suggested to implement a generic function of a little local helper function added in that bug. See comments regarding getOidFromString() in bug 970539 comment 4.

Basically, use a text string as input, which might either be a dotted OID, or the human readable description of an OID. If no such OID is yet registered and it's a dotted OID, then register the dotted OID, and return the OIDtag. Also return the OIDTag if it can be found based on the text description.
See https://hg.mozilla.org/projects/nss/rev/dee23d59c940 for code that might help when working on this.
Severity: normal → S3
Severity: S3 → N/A
Status: NEW → RESOLVED
Closed: 6 months ago
Priority: -- → P5
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.