Searched refs:rsaPubkey (Results 1 – 1 of 1) sorted by relevance
59 bssl::UniquePtr<RSA> rsaPubkey(RSA_new()); in getRsa() local60 rsaPubkey->n = BN_new(); in getRsa()61 rsaPubkey->e = BN_new(); in getRsa()63 BN_bin2bn(publicKey.data(), publicKey.size(), rsaPubkey->n); in getRsa()64 BN_set_word(rsaPubkey->e, kRsaKeyExponent); in getRsa()66 return rsaPubkey; in getRsa()101 auto rsaPubkey = getRsa(publicKey); in createSelfSignedCertificate() local104 EVP_PKEY_assign_RSA(public_key, rsaPubkey->release()); in createSelfSignedCertificate()