API参考
载入中...
搜索中...
未找到
HITLS_X509_ExtGeneric结构体 参考

#include <hitls_pki_types.h>

HITLS_X509_ExtGeneric 的协作图:

Public 属性

bool critical
BSL_Buffer oid
BSL_Buffer value

详细描述

Generic extension for setting/getting arbitrary extensions by OID

For SET operation (HITLS_X509_EXT_SET_GENERIC):

  • oid: Input, DER-encoded OID buffer (can be converted from dot-notation using BSL_OBJ_GetOidFromNumericString)
  • value: Input, DER-encoded extension value
  • critical: Input, critical flag

For GET operation (HITLS_X509_EXT_GET_GENERIC):

  • oid: Input, DER-encoded OID buffer (used to search for the extension)
  • value: Must be NULL on input (function will allocate memory and fill it with DER-encoded extension value)
  • critical: Output, critical flag

Note: After GET operation, caller must free the memory allocated for value field using the appropriate buffer free function.

类成员变量说明

◆ critical

bool HITLS_X509_ExtGeneric::critical

Critical flag of the extension

◆ oid

BSL_Buffer HITLS_X509_ExtGeneric::oid

DER-encoded OID buffer

◆ value

BSL_Buffer HITLS_X509_ExtGeneric::value

DER-encoded extension value


该结构体的文档由以下文件生成: