more towards make_credential

This commit is contained in:
Conor Patrick
2018-05-06 20:15:18 -04:00
parent aa77ccd8f9
commit 7722fb0c56
6 changed files with 304 additions and 21 deletions

16
cose_key.h Normal file
View File

@@ -0,0 +1,16 @@
#ifndef _COSE_KEY_H
#define _COSE_KEY_H
#define COSE_KEY_LABEL_KTY 1
#define COSE_KEY_LABEL_ALG 3
#define COSE_KEY_LABEL_CRV -1
#define COSE_KEY_LABEL_X -2
#define COSE_KEY_LABEL_Y -3
#define COSE_KEY_KTY_EC2 2
#define COSE_KEY_CRV_P256 1
#define COSE_ALG_ES256 -7
#endif