sui_types::nitro_attestation

Function parse_nitro_attestation

Source
pub fn parse_nitro_attestation(
    attestation_bytes: &[u8],
) -> SuiResult<(Vec<u8>, Vec<u8>, AttestationDocument)>
Expand description

Given an attestation in bytes, parse it into signature, signed message and a parsed payload.