1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2018 Merlok
4 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
5 // at your option, any later version. See the LICENSE.txt file for the text of
7 //-----------------------------------------------------------------------------
8 // Tools for work with COSE (CBOR Object Signing and Encryption) rfc8152
9 // https://tools.ietf.org/html/rfc8152
10 //-----------------------------------------------------------------------------
18 const char *GetCOSEAlgName(int id
);
19 const char *GetCOSEAlgDescription(int id
);
20 const char *GetCOSEktyDescription(int id
);
21 const char *GetCOSECurveDescription(int id
);
23 int COSEGetECDSAKey(uint8_t *data
, size_t datalen
, bool verbose
, uint8_t *public_key
);
25 #endif /* __COSE_H__ */