Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(703)

Side by Side Diff: net/base/keygen_handler_test_util.h

Issue 18121007: *WIP* Store NSS slots per profile. Move keygen to chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanups, add test for chrome keygen class Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef NET_BASE_KEYGEN_HANLDER_TEST_UTIL_H_
6 #define NET_BASE_KEYGEN_HANLDER_TEST_UTIL_H_
7
8 #include <string>
9
10 namespace net {
11
12 // Assert that |result| is a valid output for KeygenHandler given challenge
13 // string of |challenge|.
14 void AssertValidSignedPublicKeyAndChallenge(const std::string& result,
15 int key_size_in_bits,
16 const std::string& challenge);
17
18 } // namespace net
19
20 #endif // NET_BASE_KEYGEN_HANLDER_TEST_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698