pub struct SPDMGetSignedMeasurementsResponse {
pub certificate: Option<IdRef>,
pub hashing_algorithm: String,
pub oem: Option<Oem>,
pub public_key: Option<String>,
pub signed_measurements: String,
pub signing_algorithm: String,
pub version: String,
}
Expand description
The SPDM signed measurement from an SPDM Responder.
Fields§
§certificate: Option<IdRef>
§hashing_algorithm: String
The hashing algorithm used for generating the cryptographic signed statement.
oem: Option<Oem>
§public_key: Option<String>
A Privacy Enhanced Mail (PEM)-encoded public key that can be used to validate the signature.
signed_measurements: String
Base64 encoded cryptographic signed statement generated by the signer.
signing_algorithm: String
The asymmetric signing algorithm used for generating the cryptographic signed statement.
version: String
The SPDM version used by the SPDM Responder to generate the cryptographic signed statement.
Trait Implementations§
Source§impl Clone for SPDMGetSignedMeasurementsResponse
impl Clone for SPDMGetSignedMeasurementsResponse
Source§fn clone(&self) -> SPDMGetSignedMeasurementsResponse
fn clone(&self) -> SPDMGetSignedMeasurementsResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for SPDMGetSignedMeasurementsResponse
impl<'de> Deserialize<'de> for SPDMGetSignedMeasurementsResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Metadata<'static> for SPDMGetSignedMeasurementsResponse
impl Metadata<'static> for SPDMGetSignedMeasurementsResponse
Source§const JSON_SCHEMA: &'static str = "ComponentIntegrity.v1_2_1.json"
const JSON_SCHEMA: &'static str = "ComponentIntegrity.v1_2_1.json"
Name of the json-schema file that describes the entity that implements this trait. Should
be only the file name, so that it can be resolved relative to the URL of the redfish
service, or the public Redfish schema index.
Auto Trait Implementations§
impl Freeze for SPDMGetSignedMeasurementsResponse
impl RefUnwindSafe for SPDMGetSignedMeasurementsResponse
impl Send for SPDMGetSignedMeasurementsResponse
impl Sync for SPDMGetSignedMeasurementsResponse
impl Unpin for SPDMGetSignedMeasurementsResponse
impl UnwindSafe for SPDMGetSignedMeasurementsResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more