import { M } from "https://deno.land/x/lucid@0.10.0/src/mod.ts";
const { COSESign1 } = M;
Methods
free()
headers()
payload()
signed_data(external_aad, external_payload)
For verifying, we will want to reverse-construct this SigStructure to check the signature against
Arguments
external_aad
- External application data - see RFC 8152 section 4.3. Set to None if not using this.
to_bytes()