blob: d413228497a1b2d5457239ef22396da817ab0170 (
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 (c) 2013 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_ADB_ANDROID_RSA_H_
#define CHROME_BROWSER_DEVTOOLS_ADB_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_ADB_ANDROID_RSA_H_
|