security-common.hpp
1 
22 #ifndef NDN_SECURITY_COMMON_HPP
23 #define NDN_SECURITY_COMMON_HPP
24 
25 namespace ndn {
26 
27 // The KeyType integer is used by the Sqlite key storage, so don't change them.
28 enum KeyType {
29  KEY_TYPE_RSA = 0,
30  // KEY_TYPE_DSA,
31  KEY_TYPE_AES = 1,
32  // KEY_TYPE_DES,
33  // KEY_TYPE_RC4,
34  // KEY_TYPE_RC2
35  KEY_TYPE_ECDSA = 2
36 };
37 
38 enum KeyClass {
39  KEY_CLASS_PUBLIC,
40  KEY_CLASS_PRIVATE,
41  KEY_CLASS_SYMMETRIC
42 };
43 
44 enum DigestAlgorithm {
45  DIGEST_ALGORITHM_SHA256
46 };
47 
48 }
49 
50 #endif
Copyright (C) 2013-2015 Regents of the University of California.
Definition: common.hpp:35