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

Unified Diff: net/android/private_key_type_list.h

Issue 11571059: Add net/android/keystore.h (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: addressing style issues Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: net/android/private_key_type_list.h
diff --git a/net/android/private_key_type_list.h b/net/android/private_key_type_list.h
new file mode 100644
index 0000000000000000000000000000000000000000..1eeea805fe95b83e9028025f2d9094e7d300dcac
--- /dev/null
+++ b/net/android/private_key_type_list.h
@@ -0,0 +1,12 @@
+// 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 DEFINE_PRIVATE_KEY_TYPE
+#error "Please define DEFINE_PRIVATE_KEY_TYPE before including this file."
+#endif
+
+DEFINE_PRIVATE_KEY_TYPE(RSA, 0)
+DEFINE_PRIVATE_KEY_TYPE(DSA, 1)
+DEFINE_PRIVATE_KEY_TYPE(ECDSA, 2)
+DEFINE_PRIVATE_KEY_TYPE(INVALID, 255)

Powered by Google App Engine
This is Rietveld 408576698