// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef BSSL_PKI_TRUST_STORE_H_ #define BSSL_PKI_TRUST_STORE_H_ #include <optional> #include <openssl/base.h> #include "cert_issuer_source.h" #include "parsed_certificate.h" BSSL_NAMESPACE_BEGIN enum class CertificateTrustType { … }; // Describes the level of trust in a certificate. struct OPENSSL_EXPORT CertificateTrust { … }; // Interface for finding intermediates / trust anchors, and testing the // trustedness of certificates. class OPENSSL_EXPORT TrustStore : public CertIssuerSource { … }; BSSL_NAMESPACE_END #endif // BSSL_PKI_TRUST_STORE_H_