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 // Make these the same as ndn-cxx in case the storage file is shared.
29 enum KeyType {
30  KEY_TYPE_RSA = 0,
31  KEY_TYPE_ECDSA = 1,
32  KEY_TYPE_AES = 128,
33 };
34 
35 enum KeyClass {
36  KEY_CLASS_PUBLIC,
37  KEY_CLASS_PRIVATE,
38  KEY_CLASS_SYMMETRIC
39 };
40 
41 enum DigestAlgorithm {
42  DIGEST_ALGORITHM_SHA256
43 };
44 
45 }
46 
47 #endif
Copyright (C) 2013-2016 Regents of the University of California.
Definition: common.hpp:35