encrypt-params-types.h
1 
22 #ifndef NDN_ENCRYPT_PARAMS_TYPES_H
23 #define NDN_ENCRYPT_PARAMS_TYPES_H
24 
25 #include "../../util/blob-types.h"
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
31 typedef enum {
32  // These correspond to the TLV codes.
33  ndn_EncryptAlgorithmType_AesEcb = 0,
34  ndn_EncryptAlgorithmType_AesCbc = 1,
35  ndn_EncryptAlgorithmType_RsaPkcs = 2,
36  ndn_EncryptAlgorithmType_RsaOaep = 3
37 } ndn_EncryptAlgorithmType;
38 
45  ndn_EncryptAlgorithmType algorithmType;
46  struct ndn_Blob initialVector;
47 };
48 
49 #ifdef __cplusplus
50 }
51 #endif
52 
53 #endif
ndn_EncryptAlgorithmType algorithmType
-1 for none
Definition: encrypt-params-types.h:45
An ndn_EncryptParams holds an algorithm type and other parameters used to encrypt and decrypt...
Definition: encrypt-params-types.h:44
Copyright (C) 2015-2016 Regents of the University of California.
Definition: blob-types.h:33