Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/lucid/src/core/mod.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.
Very Popular
Go to Latest
class M.COSESign1
import { M } from "https://deno.land/x/lucid@0.10.6/src/core/mod.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,
)