// 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_PARSED_CERTIFICATE_H_ #define BSSL_PKI_PARSED_CERTIFICATE_H_ #include <map> #include <memory> #include <optional> #include <vector> #include <openssl/base.h> #include "certificate_policies.h" #include "input.h" #include "parse_certificate.h" #include "signature_algorithm.h" BSSL_NAMESPACE_BEGIN struct GeneralNames; class NameConstraints; class ParsedCertificate; class CertErrors; ParsedCertificateList; // Represents an X.509 certificate, including Certificate, TBSCertificate, and // standard extensions. // Creating a ParsedCertificate does not completely parse and validate the // certificate data. Presence of a member in this class implies the DER was // parsed successfully to that level, but does not imply the contents of that // member are valid, unless otherwise specified. See the documentation for each // member or the documentation of the type it returns. class OPENSSL_EXPORT ParsedCertificate { … }; BSSL_NAMESPACE_END #endif // BSSL_PKI_PARSED_CERTIFICATE_H_