blob: 9ce4599bd0f74fc94b9b2ec0a76ad80b9af5a27c [file] [log] [blame]
Jeff Thompson7b79eb62013-09-12 18:48:29 -07001/**
Jeff Thompson7687dc02013-09-13 11:54:07 -07002 * Copyright (C) 2013 Regents of the University of California.
Jeff Thompson7b79eb62013-09-12 18:48:29 -07003 * @author: Yingdi Yu <yingdi@cs.ucla.edu>
Jeff Thompson7687dc02013-09-13 11:54:07 -07004 * @author: Jeff Thompson <jefft0@remap.ucla.edu>
Jeff Thompson7b79eb62013-09-12 18:48:29 -07005 * See COPYING for copyright and distribution information.
6 */
7
8#ifndef NDN_SECURITY_COMMON_HPP
Jeff Thompsone589c3f2013-10-12 17:30:50 -07009#define NDN_SECURITY_COMMON_HPP
Jeff Thompson7b79eb62013-09-12 18:48:29 -070010
11namespace ndn {
12
13enum KeyType {
14 KEY_TYPE_RSA,
15 // KEY_TYPE_DSA,
16 KEY_TYPE_AES,
17 // KEY_TYPE_DES,
18 // KEY_TYPE_RC4,
19 // KEY_TYPE_RC2
20};
21
22enum KeyClass {
23 KEY_CLASS_PUBLIC,
24 KEY_CLASS_PRIVATE,
25 KEY_CLASS_SYMMETRIC
26};
27
Jeff Thompson7b79eb62013-09-12 18:48:29 -070028enum DigestAlgorithm {
29 // DIGEST_ALGORITHM_MD2,
30 // DIGEST_ALGORITHM_MD5,
31 // DIGEST_ALGORITHM_SHA1,
32 DIGEST_ALGORITHM_SHA256
33};
34
35enum EncryptMode {
Jeff Thompson79a2d5d2013-09-27 14:32:23 -070036 ENCRYPT_MODE_DEFAULT,
37 ENCRYPT_MODE_CFB_AES,
38 // ENCRYPT_MODE_CBC_AES
Jeff Thompson7b79eb62013-09-12 18:48:29 -070039};
40
41}
42
43#endif