def get_data()

in src/local_gpu_verifier/src/verifier/attestation/spdm_msrt_resp_msg.py [0:0]


    def get_data(self, field_name):
        """ Fetches the field value of the given field name.

        Args:
            field_name (str): the name/data type of the field in the opaque data.

        Returns:
            [bytes] : the content of the given field name.
        """
        assert type(field_name) is str

        if field_name == 'OPAQUE_FIELD_ID_FWID' and 'OPAQUE_FIELD_ID_FWID' not in self.OpaqueDataField:
            return b''

        return self.OpaqueDataField[field_name]