#include "cert_error_params.h"
#include <memory>
#include <openssl/base.h>
#include "input.h"
#include "string_util.h"
BSSL_NAMESPACE_BEGIN
namespace {
class CertErrorParams2Der : public CertErrorParams { … };
class CertErrorParams1SizeT : public CertErrorParams { … };
class CertErrorParams2SizeT : public CertErrorParams { … };
}
CertErrorParams::CertErrorParams() = default;
CertErrorParams::~CertErrorParams() = default;
std::unique_ptr<CertErrorParams> CreateCertErrorParams1Der(const char *name,
der::Input der) { … }
std::unique_ptr<CertErrorParams> CreateCertErrorParams2Der(const char *name1,
der::Input der1,
const char *name2,
der::Input der2) { … }
std::unique_ptr<CertErrorParams> CreateCertErrorParams1SizeT(const char *name,
size_t value) { … }
OPENSSL_EXPORT std::unique_ptr<CertErrorParams> CreateCertErrorParams2SizeT(
const char *name1, size_t value1, const char *name2, size_t value2) { … }
BSSL_NAMESPACE_END