TuyaOS
类型定义 | 枚举 | 函数
tal_x509.h 文件参考

Common process - adapter the tal_x509 api 更多...

#include "tuya_cloud_types.h"
tal_x509.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

类型定义

typedef PVOID_T tuya_x509_struct
 

枚举

enum  X509_fingerprint { X509_fingerprint_SHA1 = 0 , X509_fingerprint_SHA256 = 1 }
 

函数

OPERATE_RET tuya_x509_get_fingerprint (UINT8_T *buf, UINT32_T buflen, X509_fingerprint type, UINT8_T out[64], UINT32_T *outlen)
 
OPERATE_RET tuya_x509_get_serial (UINT8_T *buf, UINT32_T buflen, UINT8_T out[32], UINT32_T *outlen)
 
BOOL_T tuya_x509_is_ca_pem_format (UINT8_T *buf, UINT32_T buflen)
 
OPERATE_RET tuya_x509_pem2der (UINT8_T *buf, UINT32_T buflen, UINT8_T **out, UINT32_T *outlen)
 
OPERATE_RET tuya_x509_self_test (void)
 

详细描述

Common process - adapter the tal_x509 api

版本
0.1
日期
2022-04-22