Home | History | Annotate | Download | only in trunks

Lines Matching defs:public_key

894     std::string public_key;
895 if (!LoadSigningKey(key_handle.get(), &public_key)) {
898 public_key_map[key_handle->get()] = public_key;
907 const std::string& public_key = public_key_map[key_handle.get()];
908 if (!SignAndVerify(key_handle, public_key, delegate.get())) {
915 const std::string& public_key = public_key_map[key_handle.get()];
916 if (!SignAndVerify(key_handle, public_key, delegate.get())) {
939 std::string public_key;
940 if (!LoadSigningKey(&key_handle, &public_key)) {
944 if (!SignAndVerify(key_handle, public_key, sessions[i]->GetDelegate())) {
950 if (!SignAndVerify(key_handle, public_key, sessions[i]->GetDelegate())) {
990 std::string* public_key) {
1007 if (public_key) {
1012 public_key->assign(reinterpret_cast<char*>(buffer), length);
1016 bool TrunksClientTest::VerifyRSASignature(const std::string& public_key,
1019 auto asn1_ptr = reinterpret_cast<const unsigned char*>(public_key.data());
1021 public_key.size()));
1033 std::string* public_key) {
1036 GenerateRSAKeyPair(&modulus, &prime_factor, public_key);
1062 const std::string& public_key,
1077 if (!VerifyRSASignature(public_key, data_to_sign, signature)) {