X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fnet%2Fandroid%2Fkeystore.h;h=827422910ea40b8f1c2cbd0b32f636a1fd156742;hb=1afa4dd80ef85af7c90efaea6959db1d92330844;hp=a02d6608be85ef318282b6ebf1846086a29cf1db;hpb=90762837333c13ccf56f2ad88e4481fc71e8d281;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/net/android/keystore.h b/src/net/android/keystore.h index a02d660..8274229 100644 --- a/src/net/android/keystore.h +++ b/src/net/android/keystore.h @@ -26,10 +26,14 @@ struct AndroidEVP_PKEY; // Define a list of constants describing private key types. The // values are shared with Java through org.chromium.net.PrivateKeyType. // Example: PRIVATE_KEY_TYPE_RSA. +// +// A Java counterpart will be generated for this enum. +// GENERATED_JAVA_ENUM_PACKAGE: org.chromium.net enum PrivateKeyType { -#define DEFINE_PRIVATE_KEY_TYPE(name,value) PRIVATE_KEY_TYPE_ ## name = value, -#include "net/android/private_key_type_list.h" -#undef DEFINE_PRIVATE_KEY_TYPE + PRIVATE_KEY_TYPE_RSA = 0, + PRIVATE_KEY_TYPE_DSA = 1, + PRIVATE_KEY_TYPE_ECDSA = 2, + PRIVATE_KEY_TYPE_INVALID = 255, }; // Returns the modulus of a given RSAPrivateKey platform object,