chromium/net/cert/crl_set_unittest.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40284755): Remove this and spanify to fix the errors.
#pragma allow_unsafe_buffers
#endif

#include "net/cert/crl_set.h"

#include <string_view>

#include "base/files/file_util.h"
#include "crypto/sha2.h"
#include "net/cert/asn1_util.h"
#include "net/cert/x509_certificate.h"
#include "net/cert/x509_util.h"
#include "net/test/cert_test_util.h"
#include "net/test/test_data_directory.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace net {

// These data blocks were generated using a lot of code that is still in
// development. For now, if you need to update them, you have to contact agl.
static const uint8_t kGIACRLSet[] =;

static const uint8_t kBlockedSPKICRLSet[] =;

static const uint8_t kExpiredCRLSet[] =;

// kGIASPKISHA256 is the SHA256 digest the Google Internet Authority's
// SubjectPublicKeyInfo.
static const uint8_t kGIASPKISHA256[32] =;

TEST(CRLSetTest, Parse) {}

TEST(CRLSetTest, BlockedSPKIs) {}

TEST(CertVerifyProcTest, CRLSetIncorporatesStaticBlocklist) {}

TEST(CRLSetTest, BlockedSubjects) {}

TEST(CRLSetTest, Expired) {}

}  // namespace net