Extend libspdm API to expose SPDM message creation and handling without communication layer #1049
JakubLedworowski
started this conversation in
Ideas
Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Ref: #1164 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My team is trying to integrate libspdm into our Verifier (SPDM requestor written in Java) and we need to be able to invoke every message separately, using our own transport mechanism.
Would you consider to extend libspdm, so it could also provide API for every SPDM request creation and response handling, so other usages (like ours) could use as much SPDM protocol from libspdm?
I would expect i.e. extended SPDM requestor API like:
_status <req_message>creator(in required params, out &SPDM_request_message),
_status <resp_message>handler(in required params, in &SPDM_resp_message)
for each currently supported SPDM messages (GET_VERSION, etc.), that would be called by existent API in library but also exposed to be called by any library users.
Would you consider adding value parameter to GET_CERTIFICATE method so it could be possible to build and validate chain outside of library flow and just receiving list of certificates after error handling of GET_CERTIFICATE response?
Is there a way to collect measurements from GET_MEASUREMENT response (again after error handling), so we could compare evidence against RIM format that we currently support outside of library logic.
Beta Was this translation helpful? Give feedback.
All reactions