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

Side by Side Diff: net/cert/internal/parse_certificate.h

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years 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 unified diff | Download patch
« no previous file with comments | « net/cert/internal/name_constraints.h ('k') | net/cert/internal/signature_algorithm.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_CERT_INTERNAL_PARSE_CERTIFICATE_H_ 5 #ifndef NET_CERT_INTERNAL_PARSE_CERTIFICATE_H_
6 #define NET_CERT_INTERNAL_PARSE_CERTIFICATE_H_ 6 #define NET_CERT_INTERNAL_PARSE_CERTIFICATE_H_
7 7
8 #include <stdint.h>
9
8 #include <map> 10 #include <map>
9 11
10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
12 #include "net/base/net_export.h" 13 #include "net/base/net_export.h"
13 #include "net/der/input.h" 14 #include "net/der/input.h"
14 #include "net/der/parse_values.h" 15 #include "net/der/parse_values.h"
15 16
16 namespace net { 17 namespace net {
17 18
18 struct ParsedCertificate; 19 struct ParsedCertificate;
19 struct ParsedTbsCertificate; 20 struct ParsedTbsCertificate;
20 21
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 // be set. 364 // be set.
364 // 365 //
365 // To test if a particular key usage is set, call, e.g.: 366 // To test if a particular key usage is set, call, e.g.:
366 // key_usage->AssertsBit(KEY_USAGE_BIT_DIGITAL_SIGNATURE); 367 // key_usage->AssertsBit(KEY_USAGE_BIT_DIGITAL_SIGNATURE);
367 NET_EXPORT bool ParseKeyUsage(const der::Input& key_usage_tlv, 368 NET_EXPORT bool ParseKeyUsage(const der::Input& key_usage_tlv,
368 der::BitString* key_usage) WARN_UNUSED_RESULT; 369 der::BitString* key_usage) WARN_UNUSED_RESULT;
369 370
370 } // namespace net 371 } // namespace net
371 372
372 #endif // NET_CERT_INTERNAL_PARSE_CERTIFICATE_H_ 373 #endif // NET_CERT_INTERNAL_PARSE_CERTIFICATE_H_
OLDNEW
« no previous file with comments | « net/cert/internal/name_constraints.h ('k') | net/cert/internal/signature_algorithm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698