mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-23 00:47:31 +09:00
imported changes from mozilla NSS:
- Bug 966856 - mozilla::pkix: support SHA-2 hashes in CertIDs in OCSP responses r=jschanck,djackson (78d2f4a3)
This commit is contained in:
parent
c7ec584cf8
commit
a140666918
6 changed files with 194 additions and 58 deletions
|
|
@ -348,6 +348,14 @@ class OCSPResponseContext final {
|
|||
OCSPResponseContext(const CertID& certID, std::time_t time);
|
||||
|
||||
const CertID& certID;
|
||||
// What digest algorithm to use to produce issuerNameHash and issuerKeyHash.
|
||||
// Defaults to sha1.
|
||||
DigestAlgorithm certIDHashAlgorithm;
|
||||
// If non-empty, the sequence of bytes to use for hashAlgorithm when encoding
|
||||
// this response. If empty, the sequence of bytes corresponding to
|
||||
// certIDHashAlgorithm will be used. Defaults to empty.
|
||||
ByteString certIDHashAlgorithmEncoded;
|
||||
|
||||
// TODO(bug 980538): add a way to specify what certificates are included.
|
||||
|
||||
// The fields below are in the order that they appear in an OCSP response.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue