Closed Bug 106138 Opened 23 years ago Closed 22 years ago

make BIT STRING encoding DER-compliant

Categories

(JSS Graveyard :: Library, defect, P3)

3.1.1

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jamie-bugzilla, Assigned: jamie-bugzilla)

Details

BIT STRINGS need to have trailing zeroes removed when they are used as boolean arrays. When they are used to hold data (like a signature), they should not have trailing zeroes removed. Should handle this somehow in BIT_STRING class. Two different encoding methods, with docs to describe which to use?
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → 3.2
Target Milestone: 3.2 → 3.2.1
Fixed on JSS_3_2_BRANCH /cvsroot/mozilla/security/jss/org/mozilla/jss/asn1/BIT_STRING.java,v <-- BIT_STRING.java new revision: 1.3.2.1; previous revision: 1.3
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Also fixed the places in the JSS tree where we are using BIT_STRING to hold flags. There were only two places: /cvsroot/mozilla/security/jss/org/mozilla/jss/pkix/cmmf/GetCRL.java,v <-- GetCRL.java new revision: 1.2.14.1; previous revision: 1.2 /cvsroot/mozilla/security/jss/org/mozilla/jss/pkix/cmmf/PKIStatusInfo.java,v <-- PKIStatusInfo.java new revision: 1.2.14.1; previous revision: 1.2
Rename JSS 3.2.1 to JSS 3.3.
Target Milestone: 3.2.1 → 3.3
You need to log in before you can comment on or make changes to this bug.