Skip to main content

Class: Ed25519Signature

An Ed25519 signature.

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Ed25519Signature(publicKey, signature)

Parameters

NameTypeDescription
publicKeystringA Ed25519 public key as hex-encoded string.
signaturestringA Ed25519 signature as hex-encoded string.

Overrides

Signature.constructor

Properties

type

Readonly type: Ed25519

Inherited from

Signature.type


publicKey

publicKey: string

The public key.


signature

signature: string

The signature.

Methods

getType

getType(): Ed25519

Get the type of signature.

Returns

Ed25519

Inherited from

Signature.getType