Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Unified Diff: net/cert/internal/verify_certificate_chain.h

Issue 2093223002: Allow Cast certificates to have serial numbers greater than 20 bytes, as well as non-minimal INTEGE… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/cert/internal/parse_ocsp.cc ('k') | net/cert/internal/verify_certificate_chain.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/internal/verify_certificate_chain.h
diff --git a/net/cert/internal/verify_certificate_chain.h b/net/cert/internal/verify_certificate_chain.h
index c2f83ebec3e3a2a12d2e4dd4713248848e66c70e..fe6af6231f177fccebbd719e4979a67bd5fadbfc 100644
--- a/net/cert/internal/verify_certificate_chain.h
+++ b/net/cert/internal/verify_certificate_chain.h
@@ -22,6 +22,7 @@ namespace der {
struct GeneralizedTime;
}
+struct ParseCertificateOptions;
class SignaturePolicy;
// Represents a trust anchor (i.e. a trusted root certificate).
@@ -47,6 +48,7 @@ class NET_EXPORT TrustAnchor {
static std::unique_ptr<TrustAnchor> CreateFromCertificateData(
const uint8_t* data,
size_t length,
+ const ParseCertificateOptions& options,
DataSource source);
// Returns true if the trust anchor matches |name|. In other words, returns
@@ -151,6 +153,7 @@ class NET_EXPORT TrustStore {
//
// Returns true if the target certificate can be verified.
NET_EXPORT bool VerifyCertificateChain(const std::vector<der::Input>& certs_der,
+ const ParseCertificateOptions& options,
const TrustStore& trust_store,
const SignaturePolicy* signature_policy,
const der::GeneralizedTime& time)
« no previous file with comments | « net/cert/internal/parse_ocsp.cc ('k') | net/cert/internal/verify_certificate_chain.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698