Lines Matching refs:public_key
166 const std::string& public_key, in GetRSASubjectPublicKeyInfo() argument
168 auto asn1_ptr = reinterpret_cast<const unsigned char*>(public_key.data()); in GetRSASubjectPublicKeyInfo()
170 public_key.size())); in GetRSASubjectPublicKeyInfo()
189 std::string* public_key) { in GetRSAPublicKey() argument
207 public_key->assign(reinterpret_cast<char*>(buffer), length); in GetRSAPublicKey()
270 bool CryptoUtilityImpl::EncryptForUnbind(const std::string& public_key, in EncryptForUnbind() argument
279 auto asn1_ptr = reinterpret_cast<const unsigned char*>(public_key.data()); in EncryptForUnbind()
280 crypto::ScopedRSA rsa(d2i_RSA_PUBKEY(NULL, &asn1_ptr, public_key.size())); in EncryptForUnbind()
293 bool CryptoUtilityImpl::VerifySignature(const std::string& public_key, in VerifySignature() argument
296 auto asn1_ptr = reinterpret_cast<const unsigned char*>(public_key.data()); in VerifySignature()
297 crypto::ScopedRSA rsa(d2i_RSA_PUBKEY(NULL, &asn1_ptr, public_key.size())); in VerifySignature()