Closed Bug 390532 Opened 17 years ago Closed 1 year ago

libpkix does not return a set of valid key usages

Categories

(NSS :: Libraries, enhancement, P1)

enhancement

Tracking

(Not tracked)

RESOLVED INACTIVE
3.12.2

People

(Reporter: alvolkov.bgs, Unassigned)

References

Details

(Whiteboard: PKIX)

One of the arguments of CERT_VerifyCertificate function is an address of CERTCertificateUsage that is a bit field data type that contains all possible certificate usages. CERT_VerifyCertificate suppose to return all valid cert usages if this address is not equal to NULL.

Libpkix does not support this feature.
Priority: -- → P1
Whiteboard: PKIX
Blocks: 390888
Note that CERT_VerifyCert does not have the feature either.
CERT_VerifyCertificate accomplishes this essentially by performing
CERT_VerifyCert in a loop, performing it in its entirety once for 
each of the requested usages.  
While that is not the most efficient way to accomplish this task,
the "wrapper" version of CERT_VerifyCertificate could do the same
as the older version, calling the wrapper version of CERT_VerifyCert
in a loop, once for each requested usage, and the result would be 
equivalent to what CERT_VerifyCertificate does now (in 3.11)
Since this is a wrapper issue, assigning to Alexei
Assignee: nobody → alexei.volkov.bugs
Version: 3.12 → trunk
Patch for 390888 will have fix for this bug. Leave this bug open for now.
No longer blocks: 390888
Depends on: 294531
Target Milestone: 3.12 → 3.12.1
Re-targeting for later release, as this functionality is needed for CERT_PKIX_VerifyCert API only.
Target Milestone: 3.12.1 → 3.12.2

The bug assignee didn't login in Bugzilla in the last 7 months.
:beurdouche, could you have a look please?
For more information, please visit auto_nag documentation.

Assignee: alvolkov.bgs → nobody
Flags: needinfo?(bbeurdouche)

Redirect needinfos that are pending on inactive users to the triage owner.
:beurdouche, since the bug has high priority and recent activity, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(musafirin100)
Flags: needinfo?(bbeurdouche)
Flags: needinfo?(balmonajaudah)
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INACTIVE
Flags: needinfo?(bbeurdouche)
You need to log in before you can comment on or make changes to this bug.