chromium/net/cert/x509_util_nss_unittest.cc

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

#include "net/cert/x509_util_nss.h"

#include <string_view>

#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/time/time.h"
#include "net/cert/scoped_nss_types.h"
#include "net/cert/x509_certificate.h"
#include "net/cert/x509_util.h"
#include "net/test/cert_test_util.h"
#include "net/test/test_certificate_data.h"
#include "net/test/test_data_directory.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace net {

namespace {

std::string BytesForNSSCert(CERTCertificate* cert) {}

}  // namespace

TEST(X509UtilNSSTest, IsSameCertificate) {}

TEST(X509UtilNSSTest, CreateCERTCertificateFromBytes) {}

TEST(X509UtilNSSTest, CreateCERTCertificateFromBytesGarbage) {}

TEST(X509UtilNSSTest, CreateCERTCertificateFromX509Certificate) {}

TEST(X509UtilNSSTest, CreateCERTCertificateListFromX509Certificate) {}

TEST(X509UtilTest, CreateCERTCertificateListFromX509CertificateErrors) {}

TEST(X509UtilNSSTest, CreateCERTCertificateListFromBytes) {}

TEST(X509UtilNSSTest, DupCERTCertificate) {}

TEST(X509UtilNSSTest, DupCERTCertificateList) {}

TEST(X509UtilNSSTest, DupCERTCertificateList_EmptyList) {}

TEST(X509UtilNSSTest, CreateX509CertificateFromCERTCertificate_NoChain) {}

TEST(X509UtilNSSTest, CreateX509CertificateFromCERTCertificate_EmptyChain) {}

TEST(X509UtilNSSTest, CreateX509CertificateFromCERTCertificate_WithChain) {}

TEST(X509UtilNSSTest, CreateX509CertificateListFromCERTCertificates) {}

TEST(X509UtilNSSTest, CreateX509CertificateListFromCERTCertificates_EmptyList) {}

TEST(X509UtilNSSTest, GetDEREncoded) {}

TEST(X509UtilNSSTest, GetDefaultNickname) {}

TEST(X509UtilNSSTest, GetCERTNameDisplayName_CN) {}

TEST(X509UtilNSSTest, GetCERTNameDisplayName_O) {}

TEST(X509UtilNSSTest, ParseClientSubjectAltNames) {}

TEST(X509UtilNSSTest, GetValidityTimes) {}

TEST(X509UtilNSSTest, GetValidityTimesOptionalArgs) {}

TEST(X509UtilNSSTest, CalculateFingerprint256) {}

}  // namespace net