| Index: net/base/keygen_handler_test_util.h
|
| diff --git a/net/base/keygen_handler_test_util.h b/net/base/keygen_handler_test_util.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2d000fbb53ec24cbb97b6e622fec81cbcc94da85
|
| --- /dev/null
|
| +++ b/net/base/keygen_handler_test_util.h
|
| @@ -0,0 +1,20 @@
|
| +// 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 NET_BASE_KEYGEN_HANLDER_TEST_UTIL_H_
|
| +#define NET_BASE_KEYGEN_HANLDER_TEST_UTIL_H_
|
| +
|
| +#include <string>
|
| +
|
| +namespace net {
|
| +
|
| +// Assert that |result| is a valid output for KeygenHandler given challenge
|
| +// string of |challenge|.
|
| +void AssertValidSignedPublicKeyAndChallenge(const std::string& result,
|
| + int key_size_in_bits,
|
| + const std::string& challenge);
|
| +
|
| +} // namespace net
|
| +
|
| +#endif // NET_BASE_KEYGEN_HANLDER_TEST_UTIL_H_
|
|
|