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

Side by Side Diff: webrtc/base/sslfingerprint.h

Issue 1362503003: Use suffixed {uint,int}{8,16,32,64}_t types. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase + revert basictypes.h (to be landed separately just in case of a revert due to unexpected us… Created 5 years, 2 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 unified diff | Download patch
« no previous file with comments | « webrtc/base/socketaddress.cc ('k') | webrtc/base/sslfingerprint.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2012 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2012 The WebRTC Project Authors. All rights reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 13 matching lines...) Expand all
24 struct SSLFingerprint { 24 struct SSLFingerprint {
25 static SSLFingerprint* Create(const std::string& algorithm, 25 static SSLFingerprint* Create(const std::string& algorithm,
26 const rtc::SSLIdentity* identity); 26 const rtc::SSLIdentity* identity);
27 27
28 static SSLFingerprint* Create(const std::string& algorithm, 28 static SSLFingerprint* Create(const std::string& algorithm,
29 const rtc::SSLCertificate* cert); 29 const rtc::SSLCertificate* cert);
30 30
31 static SSLFingerprint* CreateFromRfc4572(const std::string& algorithm, 31 static SSLFingerprint* CreateFromRfc4572(const std::string& algorithm,
32 const std::string& fingerprint); 32 const std::string& fingerprint);
33 33
34 SSLFingerprint(const std::string& algorithm, const uint8* digest_in, 34 SSLFingerprint(const std::string& algorithm,
35 const uint8_t* digest_in,
35 size_t digest_len); 36 size_t digest_len);
36 37
37 SSLFingerprint(const SSLFingerprint& from); 38 SSLFingerprint(const SSLFingerprint& from);
38 39
39 bool operator==(const SSLFingerprint& other) const; 40 bool operator==(const SSLFingerprint& other) const;
40 41
41 std::string GetRfc4572Fingerprint() const; 42 std::string GetRfc4572Fingerprint() const;
42 43
43 std::string ToString(); 44 std::string ToString();
44 45
45 std::string algorithm; 46 std::string algorithm;
46 rtc::Buffer digest; 47 rtc::Buffer digest;
47 }; 48 };
48 49
49 } // namespace rtc 50 } // namespace rtc
50 51
51 #endif // WEBRTC_BASE_SSLFINGERPRINT_H_ 52 #endif // WEBRTC_BASE_SSLFINGERPRINT_H_
OLDNEW
« no previous file with comments | « webrtc/base/socketaddress.cc ('k') | webrtc/base/sslfingerprint.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698