peek<T> function
Extracts the embedded payload from a COSE_Sign1 signature without verifying it.
Warning: This function does NOT verify the signature. The returned payload is unauthenticated and should not be trusted until verified with verify. Use signer to extract the signer's fingerprint for key lookup.
Returns the CBOR-decoded payload.
Implementation
T peek<T>({required Uint8List signature}) =>
_decode(ffi.cosePeek(signature: signature)) as T;