-
Notifications
You must be signed in to change notification settings - Fork 135
Open
Labels
4.0Issues and features slated for the next major revision of libspdm.Issues and features slated for the next major revision of libspdm.enhancementNew feature or requestNew feature or request
Description
From #1655.
There are currently three public APIs to fetch a certificate chain. The length parameter is no longer needed now that libspdm automatically sizes the request. The three APIs can then be condensed into one
libspdm_return_t libspdm_get_certificate(void *spdm_context,
const uint32_t *session_id,
uint8_t slot_id,
size_t *cert_chain_size,
void *cert_chain,
const void **trust_anchor,
size_t *trust_anchor_size);
The Integrator can set trust_anchor to NULL if they so desire.
Metadata
Metadata
Assignees
Labels
4.0Issues and features slated for the next major revision of libspdm.Issues and features slated for the next major revision of libspdm.enhancementNew feature or requestNew feature or request