OLD | NEW |
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 23 matching lines...) Expand all Loading... |
34 SSLFingerprint(const std::string& algorithm, | 34 SSLFingerprint(const std::string& algorithm, |
35 const uint8_t* digest_in, | 35 const uint8_t* digest_in, |
36 size_t digest_len); | 36 size_t digest_len); |
37 | 37 |
38 SSLFingerprint(const SSLFingerprint& from); | 38 SSLFingerprint(const SSLFingerprint& from); |
39 | 39 |
40 bool operator==(const SSLFingerprint& other) const; | 40 bool operator==(const SSLFingerprint& other) const; |
41 | 41 |
42 std::string GetRfc4572Fingerprint() const; | 42 std::string GetRfc4572Fingerprint() const; |
43 | 43 |
44 std::string ToString(); | 44 std::string ToString() const; |
45 | 45 |
46 std::string algorithm; | 46 std::string algorithm; |
47 rtc::CopyOnWriteBuffer digest; | 47 rtc::CopyOnWriteBuffer digest; |
48 }; | 48 }; |
49 | 49 |
50 } // namespace rtc | 50 } // namespace rtc |
51 | 51 |
52 #endif // WEBRTC_BASE_SSLFINGERPRINT_H_ | 52 #endif // WEBRTC_BASE_SSLFINGERPRINT_H_ |
OLD | NEW |