| Index: chrome/common/extensions/api/networking_private/networking_private_crypto.h
|
| diff --git a/chrome/common/extensions/api/networking_private/networking_private_crypto.h b/chrome/common/extensions/api/networking_private/networking_private_crypto.h
|
| index 8940c0ba066bf108106e2c44bbbd8fc7bba690e1..e61329387165293ce3ceacd706dd90a324320084 100644
|
| --- a/chrome/common/extensions/api/networking_private/networking_private_crypto.h
|
| +++ b/chrome/common/extensions/api/networking_private/networking_private_crypto.h
|
| @@ -20,12 +20,10 @@
|
| // 2) The certificate is a valid PEM encoded certificate signed by trusted CA.
|
| // 3) |signature| is a valid signature for |data|, using the public key in
|
| // |certificate|
|
| -bool VerifyCredentials(
|
| - const std::string& certificate,
|
| - const std::vector<std::string>& intermediate_certificates,
|
| - const std::string& signature,
|
| - const std::string& data,
|
| - const std::string& connected_mac);
|
| +bool VerifyCredentials(const std::string& certificate,
|
| + const std::string& signature,
|
| + const std::string& data,
|
| + const std::string& connected_mac);
|
|
|
| // Encrypt |data| with |public_key|. |public_key| is a DER-encoded
|
| // RSAPublicKey. |data| is some string of bytes that is smaller than the
|
| @@ -46,6 +44,12 @@
|
| const std::vector<uint8_t>& encrypted_data,
|
| std::string* decrypted_output);
|
|
|
| +// The trusted public key as a DER-encoded PKCS#1 RSAPublicKey structure.
|
| +extern const uint8_t kTrustedCAPublicKeyDER[];
|
| +
|
| +// The length of |kTrustedCAPublicKeyDER| in bytes.
|
| +extern const size_t kTrustedCAPublicKeyDERLength;
|
| +
|
| } // namespace networking_private_crypto
|
|
|
| #endif // CHROME_COMMON_EXTENSIONS_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_CRYPTO_H_
|
|
|