Skip to main content

MldsaKeyshare

Constructors

new MldsaKeyshare()

new MldsaKeyshare(raw): MldsaKeyshare

Parameters

raw

MldsaKeyshare

Returns

MldsaKeyshare

Properties

raw

readonly raw: MldsaKeyshare

Accessors

keyIdBase64

Get Signature

get keyIdBase64(): string

Returns

string


keyIdHex

Get Signature

get keyIdHex(): string

Returns

string


publicKeyBase64

Get Signature

get publicKeyBase64(): string

Returns

string


publicKeyHex

Get Signature

get publicKeyHex(): string

Returns

string

Methods

keyId()

keyId(): ArrayBuffer

Returns

ArrayBuffer


publicKey()

publicKey(): ArrayBuffer

Returns

ArrayBuffer


toBase64()

toBase64(): string

Returns

string


toBytes()

toBytes(): ArrayBuffer

Returns

ArrayBuffer


toHex()

toHex(): string

Returns

string


fromBase64()

static fromBase64(bytes): MldsaKeyshare

Parameters

bytes

string

Returns

MldsaKeyshare


fromBytes()

static fromBytes(bytes): MldsaKeyshare

Parameters

bytes

ArrayBuffer

Returns

MldsaKeyshare


fromHex()

static fromHex(bytes): MldsaKeyshare

Parameters

bytes

string

Returns

MldsaKeyshare


fromRaw()

static fromRaw(raw): MldsaKeyshare

Parameters

raw

MldsaKeyshare

Returns

MldsaKeyshare