/* * Copyright 2012 The WebRTC Project Authors. All rights reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree.
*/
class RTCCertificate; class SSLCertificate; class SSLIdentity;
struct RTC_EXPORT SSLFingerprint { // TODO(steveanton): Remove once downstream projects have moved off of this. static SSLFingerprint* Create(absl::string_view algorithm, const rtc::SSLIdentity* identity); // TODO(steveanton): Rename to Create once projects have migrated. static std::unique_ptr<SSLFingerprint> CreateUnique(
absl::string_view algorithm, const rtc::SSLIdentity& identity);
// TODO(steveanton): Remove once downstream projects have moved off of this. static SSLFingerprint* CreateFromRfc4572(absl::string_view algorithm,
absl::string_view fingerprint); // TODO(steveanton): Rename to CreateFromRfc4572 once projects have migrated. static std::unique_ptr<SSLFingerprint> CreateUniqueFromRfc4572(
absl::string_view algorithm,
absl::string_view fingerprint);
// Creates a fingerprint from a certificate, using the same digest algorithm // as the certificate's signature. static std::unique_ptr<SSLFingerprint> CreateFromCertificate( const RTCCertificate& cert);
SSLFingerprint(absl::string_view algorithm,
ArrayView<const uint8_t> digest_view); // TODO(steveanton): Remove once downstream projects have moved off of this.
SSLFingerprint(absl::string_view algorithm, const uint8_t* digest_in,
size_t digest_len);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.