blob: ccb53126bb058afc0e125f0a1b8f4fddf9167efa [file] [log] [blame]
Zhichuang Sun387a6192023-07-19 15:48:03 -07001description: >
2 Implement to represent properties related to SPDM Measurements set.
3
4methods:
5 - name: SPDMGetSignedMeasurements
6 description: >
7 This method generates an SPDM cryptographic signed statement over the
8 given nonce and measurements of the SPDM Responder.
9
10 parameters:
11 - name: MeasurementIndices
12 type: array[size]
13 description: >
14 An array of indices that identify the measurement blocks to
15 sign.
16
17 - name: Nonce
18 type: string
19 description: >
20 A 32-byte hex-encoded string to be signed with the measurements.
21 The value should be unique.
22
23 - name: SlotId
24 type: size
25 description: >
26 The slot identifier for the certificate containing the private
27 key to generate the signature over the measurements.
28
29 returns:
30 - name: Certificate
31 type: object_path
32 description: >
33 Certificate corresponding to the SPDM slot identifier that can
34 be used to validate the signature.
35 - name: HashingAlgorithm
36 type: string
37 description: >
38 The hashing algorithm used for generating the cryptographic
39 signed statement.
40 - name: PublicKey
41 type: string
42 description: >
43 A Privacy Enhanced Mail (PEM)-encoded public key that can be
44 used to validate the signature.
45 - name: SignedMeasurements
46 type: string
47 description: >
48 Base64 encoded cryptographic signed statement generated by the
49 signer.
50 - name: SigningAlgorithm
51 type: string
52 description: >
53 The asymmetric signing algorithm used for generating the
54 cryptographic signed statement.
55 - name: Version
56 type: string
57 description: >
58 The SPDM version used by the SPDM Responder to generate the
59 cryptographic signed statement.
60 errors:
61 - xyz.openbmc_project.Common.Error.InvalidArgument
62 - xyz.openbmc_project.Common.Error.InternalFailure