#include "net/test/key_util.h"
#include <string>
#include <utility>
#include "base/files/file_util.h"
#include "base/logging.h"
#include "net/ssl/openssl_private_key.h"
#include "net/ssl/ssl_private_key.h"
#include "third_party/boringssl/src/include/openssl/bio.h"
#include "third_party/boringssl/src/include/openssl/evp.h"
#include "third_party/boringssl/src/include/openssl/pem.h"
namespace net::key_util {
bssl::UniquePtr<EVP_PKEY> LoadEVP_PKEYFromPEM(const base::FilePath& filepath) { … }
std::string PEMFromPrivateKey(EVP_PKEY* key) { … }
scoped_refptr<SSLPrivateKey> LoadPrivateKeyOpenSSL(
const base::FilePath& filepath) { … }
}