We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 220cc87 commit e2e047cCopy full SHA for e2e047c
1 file changed
src/model/component_integrity.rs
@@ -44,6 +44,7 @@ pub struct ComponentIntegrity {
44
pub id: String,
45
pub name: String,
46
pub target_component_uri: Option<String>,
47
+ #[serde(rename = "SPDM")]
48
pub spdm: Option<SPDMData>,
49
pub actions: Option<SPDMActions>,
50
pub links: Option<ComponentsProtectedLinks>,
@@ -58,10 +59,16 @@ pub struct ComponentsProtectedLinks {
58
59
#[derive(Debug, Serialize, Deserialize, Clone)]
60
#[serde(rename_all = "PascalCase")]
61
pub struct SPDMData {
- pub identity_authentication: ResponderAuthentication,
62
+ pub identity_authentication: IdentityAuthentication,
63
pub requester: ODataId,
64
}
65
66
+#[derive(Debug, Serialize, Deserialize, Clone)]
67
+#[serde(rename_all = "PascalCase")]
68
+pub struct IdentityAuthentication {
69
+ pub responder_authentication: ResponderAuthentication,
70
+}
71
+
72
73
74
pub struct ResponderAuthentication {
0 commit comments