blob: 2ee1584eabba44afa49c3475f8a283da2686bb74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_DEVTOOLS_DEVICE_USB_ANDROID_RSA_H_
#define CHROME_BROWSER_DEVTOOLS_DEVICE_USB_ANDROID_RSA_H_
#include <string>
namespace crypto {
class RSAPrivateKey;
}
class Profile;
crypto::RSAPrivateKey* AndroidRSAPrivateKey(Profile* profile);
std::string AndroidRSAPublicKey(crypto::RSAPrivateKey* key);
std::string AndroidRSASign(crypto::RSAPrivateKey* key,
const std::string& body);
#endif // CHROME_BROWSER_DEVTOOLS_DEVICE_USB_ANDROID_RSA_H_
|