chromium/third_party/boringssl/src/pki/encode_values_unittest.cc

// 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.

#include "encode_values.h"

#include <string_view>

#include <gtest/gtest.h>
#include "parse_values.h"

BSSL_NAMESPACE_BEGIN
namespace der::test {

namespace {

template <size_t N>
std::string_view ToStringView(const uint8_t (&data)[N]) {}

}  // namespace

TEST(EncodeValuesTest, EncodePosixTimeAsGeneralizedTime) {}

TEST(EncodeValuesTest, GeneralizedTimeToPosixTime) {}

// As Posix times use BoringSSL's POSIX time routines underneath the covers
// these should not have any issues on 32 bit platforms.
TEST(EncodeValuesTest, GeneralizedTimeToPosixTimeAfter32BitPosixMaxYear) {}

TEST(EncodeValuesTest, EncodeGeneralizedTime) {}

TEST(EncodeValuesTest, EncodeUTCTime) {}

}  // namespace der::test
BSSL_NAMESPACE_END