![]() |
API参考
|
#include <hitls_pki_types.h>

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):
For GET operation (HITLS_X509_EXT_GET_GENERIC):
Note: After GET operation, caller must free the memory allocated for value field using the appropriate buffer free function.
| bool HITLS_X509_ExtGeneric::critical |
Critical flag of the extension
| BSL_Buffer HITLS_X509_ExtGeneric::oid |
DER-encoded OID buffer
| BSL_Buffer HITLS_X509_ExtGeneric::value |
DER-encoded extension value