/* * Copyright 2020 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.
*/
// BoringSSLCertificate encapsulates a BoringSSL CRYPTO_BUFFER object holding a // certificate, which is also reference counted inside the BoringSSL library. // This offers binary size and memory improvements over the OpenSSL X509 // object. class BoringSSLCertificate final : public SSLCertificate { public: explicit BoringSSLCertificate(bssl::UniquePtr<CRYPTO_BUFFER> cert_buffer);
// Compute the digest of the certificate given `algorithm`. bool ComputeDigest(absl::string_view algorithm, unsignedchar* digest,
size_t size,
size_t* length) const override;
// Compute the digest of a certificate as a CRYPTO_BUFFER. staticbool ComputeDigest(const CRYPTO_BUFFER* cert_buffer,
absl::string_view algorithm, unsignedchar* digest,
size_t size,
size_t* length);
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.