Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lucid/src/core/core.ts>M.COSESign1

Lucid is a library, which allows you to create Cardano transactions and off-chain code for your Plutus contracts in JavaScript, Deno and Node.js.
Latest
class M.COSESign1
import { M } from "https://deno.land/x/lucid@0.10.10/src/core/core.ts";
const { COSESign1 } = M;

Methods

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.

Static Methods

__wrap(ptr)
from_bytes(bytes)
new(
headers,
payload,
signature,
)