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

x/lucid/src/core/wasm_modules/cardano_message_signing_web/cardano_message_signing.d.ts>COSEKey

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 COSEKey
import { COSEKey } from "https://deno.land/x/lucid@0.7.8/src/core/wasm_modules/cardano_message_signing_web/cardano_message_signing.d.ts";

Methods

algorithm_id(): Label | undefined
base_init_vector(): Uint8Array | undefined
free(): void
header(label: Label): CBORValue | undefined
key_id(): Uint8Array | undefined
key_ops(): Labels | undefined
set_algorithm_id(algorithm_id: Label): void
set_base_init_vector(base_init_vector: Uint8Array): void
set_header(label: Label, value: CBORValue): void
set_key_id(key_id: Uint8Array): void
set_key_ops(key_ops: Labels): void
set_key_type(key_type: Label): void
to_bytes(): Uint8Array

Static Methods

from_bytes(bytes: Uint8Array): COSEKey
new(key_type: Label): COSEKey