Documentation
¶
Index ¶
- func DecodeRequest(data []byte) (fdc2.IFdc2HubFdc2AttestationRequest, error)
- func DecodeResponse(data []byte) (fdc2.IFdc2HubFdc2ResponseHeader, error)
- func EncodeRequest(req fdc2.IFdc2HubFdc2AttestationRequest) (hexutil.Bytes, error)
- func EncodeResponseHeader(header fdc2.IFdc2HubFdc2ResponseHeader) (hexutil.Bytes, error)
- func HashMessage(req fdc2.IFdc2HubFdc2AttestationRequest, responseBody []byte, ...) (common.Hash, common.Hash, hexutil.Bytes, hexutil.Bytes, error)
- type ProveResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeRequest ¶
func DecodeRequest(data []byte) (fdc2.IFdc2HubFdc2AttestationRequest, error)
DecodeRequest decodes bytes into an FDC2 attestation request.
func DecodeResponse ¶
func DecodeResponse(data []byte) (fdc2.IFdc2HubFdc2ResponseHeader, error)
DecodeResponse decodes bytes into an FDC2 response header.
func EncodeRequest ¶
func EncodeRequest(req fdc2.IFdc2HubFdc2AttestationRequest) (hexutil.Bytes, error)
EncodeRequest encodes an FDC2 attestation request to bytes.
func EncodeResponseHeader ¶
func EncodeResponseHeader(header fdc2.IFdc2HubFdc2ResponseHeader) (hexutil.Bytes, error)
EncodeResponseHeader encodes an FDC2 response header to bytes.
Types ¶
type ProveResponse ¶
type ProveResponse struct {
ResponseHeader hexutil.Bytes
RequestBody hexutil.Bytes
ResponseBody hexutil.Bytes
TEESignature hexutil.Bytes
CosignerSignatures []hexutil.Bytes
DataProviderSignatures hexutil.Bytes
}
ProveResponse represents the response structure for F_FDC2 PROVE opCommand.
Click to show internal directories.
Click to hide internal directories.