13#include "tuya_cloud_types.h"
20 X509_fingerprint_SHA1 = 0,
21 X509_fingerprint_SHA256 = 1,
24typedef PVOID_T tuya_x509_struct;
26BOOL_T tuya_x509_is_ca_pem_format(UINT8_T *buf, UINT32_T buflen);
27OPERATE_RET tuya_x509_pem2der(UINT8_T *buf, UINT32_T buflen, UINT8_T **out, UINT32_T *outlen);
28OPERATE_RET tuya_x509_get_serial( UINT8_T *buf, UINT32_T buflen,UINT8_T out[32], UINT32_T *outlen);
29OPERATE_RET tuya_x509_get_fingerprint( UINT8_T *buf, UINT32_T buflen, X509_fingerprint type, UINT8_T out[64], UINT32_T *outlen );
30OPERATE_RET tuya_x509_self_test(
void );