• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2024 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "net/cert/internal/platform_trust_store.h"
6 
7 namespace net {
8 
CertWithTrust(std::vector<uint8_t> cert_bytes,bssl::CertificateTrust trust)9 PlatformTrustStore::CertWithTrust::CertWithTrust(
10     std::vector<uint8_t> cert_bytes,
11     bssl::CertificateTrust trust)
12     : cert_bytes(std::move(cert_bytes)), trust(trust) {}
13 PlatformTrustStore::CertWithTrust::~CertWithTrust() = default;
14 
15 PlatformTrustStore::CertWithTrust::CertWithTrust(const CertWithTrust&) =
16     default;
17 PlatformTrustStore::CertWithTrust& PlatformTrustStore::CertWithTrust::operator=(
18     const CertWithTrust& other) = default;
19 PlatformTrustStore::CertWithTrust::CertWithTrust(CertWithTrust&&) = default;
20 PlatformTrustStore::CertWithTrust& PlatformTrustStore::CertWithTrust::operator=(
21     CertWithTrust&& other) = default;
22 
23 }  // namespace net
24