import { COSESign1 } from "https://deno.land/x/lucid@0.7.4/src/core/wasm_modules/cardano_message_signing_web/cardano_message_signing.d.ts";
Methods
free(): void
payload(): Uint8Array | undefined
signature(): Uint8Array
signed_data(external_aad?: Uint8Array, external_payload?: Uint8Array): SigStructure
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(): Uint8Array
Static Methods
from_bytes(bytes: Uint8Array): COSESign1