pub fn parse_nitro_attestation(
attestation_bytes: &[u8],
is_upgraded_parsing: bool,
) -> SuiResult<(Vec<u8>, Vec<u8>, AttestationDocument)>
Expand description
Given an attestation in bytes, parse it into signature, signed message and a parsed payload.