/* * Copyright 2004 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.
*/
// OpenSSLCertificate encapsulates an OpenSSL X509* certificate object, // which is also reference counted inside the OpenSSL library. class OpenSSLCertificate final : public SSLCertificate { public: // X509 object has its reference count incremented. So the caller and // OpenSSLCertificate share ownership. explicit OpenSSLCertificate(X509* x509);
// 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 an X509 * staticbool ComputeDigest(const X509* x509,
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.