Lines Matching refs:root_key
33 EVP_PKEY* root_key, in GenerateCredentials() argument
35 OSP_CHECK(root_key); in GenerateCredentials()
45 GetWallTimeSinceUnixEpoch(), true, root_cert, root_key); in GenerateCredentials()
123 bssl::UniquePtr<EVP_PKEY> root_key = GenerateRsaKeyPair(); in GeneratePrivateKey() local
124 OSP_CHECK(root_key); in GeneratePrivateKey()
125 return root_key; in GeneratePrivateKey()
128 bssl::UniquePtr<X509> GenerateRootCert(const EVP_PKEY& root_key) { in GenerateRootCert() argument
131 root_key, GetWallTimeSinceUnixEpoch(), in GenerateRootCert()
152 bssl::UniquePtr<EVP_PKEY> root_key = GeneratePrivateKey(); in GenerateDeveloperCredentialsToFile() local
153 bssl::UniquePtr<X509> root_cert = GenerateRootCert(*root_key); in GenerateDeveloperCredentialsToFile()
156 if (PEM_write_PrivateKey(f.get(), root_key.get(), nullptr, nullptr, 0, 0, in GenerateDeveloperCredentialsToFile()
175 bssl::UniquePtr<EVP_PKEY> root_key = GeneratePrivateKey(); in GenerateCredentialsForTesting() local
176 bssl::UniquePtr<X509> root_cert = GenerateRootCert(*root_key); in GenerateCredentialsForTesting()
177 return GenerateCredentials(device_certificate_id, root_key.get(), in GenerateCredentialsForTesting()
195 bssl::UniquePtr<EVP_PKEY> root_key = in GenerateCredentials() local
207 return GenerateCredentials(device_certificate_id, root_key.get(), in GenerateCredentials()