Jeff Thompson | 25b4e61 | 2013-10-10 16:03:24 -0700 | [diff] [blame] | 1 | /** |
| 2 | * Copyright (C) 2013 Regents of the University of California. |
| 3 | * @author: Jeff Thompson <jefft0@remap.ucla.edu> |
| 4 | * See COPYING for copyright and distribution information. |
| 5 | */ |
| 6 | |
| 7 | #ifndef NDN_KEY_TYPES_H |
| 8 | #define NDN_KEY_TYPES_H |
| 9 | |
| 10 | #ifdef __cplusplus |
| 11 | extern "C" { |
| 12 | #endif |
| 13 | |
| 14 | typedef enum { |
| 15 | ndn_KeyLocatorType_KEY = 1, |
| 16 | ndn_KeyLocatorType_CERTIFICATE = 2, |
| 17 | ndn_KeyLocatorType_KEYNAME = 3 |
| 18 | } ndn_KeyLocatorType; |
| 19 | |
| 20 | typedef enum { |
| 21 | ndn_KeyNameType_PUBLISHER_PUBLIC_KEY_DIGEST = 1, |
| 22 | ndn_KeyNameType_PUBLISHER_CERTIFICATE_DIGEST = 2, |
| 23 | ndn_KeyNameType_PUBLISHER_ISSUER_KEY_DIGEST = 3, |
| 24 | ndn_KeyNameType_PUBLISHER_ISSUER_CERTIFICATE_DIGEST = 4 |
| 25 | } ndn_KeyNameType; |
| 26 | |
| 27 | #ifdef __cplusplus |
| 28 | } |
| 29 | #endif |
| 30 | |
| 31 | #endif |