YPC  0.2.0
iodef.h
1 #pragma once
2 #include "ypc/core/byte.h"
3 #include "ypc/core/ntjson.h"
4 #include "ypc/corecommon/nt_cols.h"
5 #include "ypc/corecommon/package.h"
6 
8 
9 define_nt(input_data_url, std::string);
10 define_nt(input_data_hash, ypc::bytes);
11 define_nt(enclave_hash, ypc::bytes);
12 
13 define_nt(shu_pkey, ypc::bytes);
14 typedef ::ff::util::ntobject<shu_pkey, ntt::encrypted_shu_skey,
15  ntt::shu_forward_signature, enclave_hash>
16  shu_info_t;
17 
18 define_nt(shu_info, shu_info_t);
19 typedef ::ff::util::ntobject<input_data_url, input_data_hash, shu_info,
20  ntt::tag>
21  data_item_t;
22 define_nt(input_data, std::vector<data_item_t>);
23 define_nt(parser_path, std::string);
24 define_nt(parser_enclave_hash, ypc::bytes);
25 define_nt(keymgr_path, std::string);
26 define_nt(dian_pkey, ypc::bytes);
27 
28 typedef ::ff::util::ntobject<shu_info, input_data, parser_path, keymgr_path,
29  parser_enclave_hash, dian_pkey, ntt::model,
30  ntt::param>
31  input_param_t;
ypc::nt
Definition: nt_cols.h:6
byte.h
ypc::utc::bytes
Definition: bytes.h:143