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

Unified Diff: net/cert/asn1_util.h

Issue 2731603002: Check TBSCertificate.algorithm and Certificate.signatureAlgorithm for (Closed)
Patch Set: fix Created 3 years, 10 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 | « no previous file | net/cert/asn1_util.cc » ('j') | net/cert/cert_verify_proc.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/asn1_util.h
diff --git a/net/cert/asn1_util.h b/net/cert/asn1_util.h
index fb64bfbb58b38462872e5f7e911dc8b38d86bd07..e7f9ebb132d18e338172760d8ef69c419ba03670 100644
--- a/net/cert/asn1_util.h
+++ b/net/cert/asn1_util.h
@@ -50,6 +50,11 @@ NET_EXPORT_PRIVATE bool ExtractCRLURLsFromDERCert(
// present or if there was a parsing failure.
NET_EXPORT_PRIVATE bool HasTLSFeatureExtension(base::StringPiece cert);
+NET_EXPORT_PRIVATE bool ExtractSignatureAlgorithmsFromDERCert(
+ base::StringPiece cert,
+ base::StringPiece* cert_signature_algorithm_sequence,
+ base::StringPiece* tbs_signature_algorithm_sequence);
+
} // namespace asn1
} // namespace net
« no previous file with comments | « no previous file | net/cert/asn1_util.cc » ('j') | net/cert/cert_verify_proc.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698