Ed25519PublicKey
Defined in: packages/identity/src/identity/ed25519.ts:21
A Public Key implementation.
Implements
Section titled “Implements”Accessors
Section titled “Accessors”derKey
Section titled “derKey”Get Signature
Section titled “Get Signature”get derKey():
DerEncodedPublicKey
Defined in: packages/identity/src/identity/ed25519.ts:84
Returns
Section titled “Returns”Implementation of
Section titled “Implementation of”rawKey
Section titled “rawKey”Get Signature
Section titled “Get Signature”get rawKey():
Uint8Array
Defined in: packages/identity/src/identity/ed25519.ts:78
Returns
Section titled “Returns”Uint8Array
Implementation of
Section titled “Implementation of”Methods
Section titled “Methods”toDer()
Section titled “toDer()”toDer():
DerEncodedPublicKey
Defined in: packages/identity/src/identity/ed25519.ts:97
Returns
Section titled “Returns”Implementation of
Section titled “Implementation of”toRaw()
Section titled “toRaw()”toRaw():
Uint8Array
Defined in: packages/identity/src/identity/ed25519.ts:101
Returns
Section titled “Returns”Uint8Array
Implementation of
Section titled “Implementation of”from()
Section titled “from()”
static
from(maybeKey
):Ed25519PublicKey
Defined in: packages/identity/src/identity/ed25519.ts:27
Construct Ed25519PublicKey from an existing PublicKey
Parameters
Section titled “Parameters”maybeKey
Section titled “maybeKey”unknown
existing PublicKey, ArrayBuffer, DerEncodedPublicKey, or hex string
Returns
Section titled “Returns”Ed25519PublicKey
Instance of Ed25519PublicKey
fromDer()
Section titled “fromDer()”
static
fromDer(derKey
):Ed25519PublicKey
Defined in: packages/identity/src/identity/ed25519.ts:55
Parameters
Section titled “Parameters”derKey
Section titled “derKey”Returns
Section titled “Returns”Ed25519PublicKey
fromRaw()
Section titled “fromRaw()”
static
fromRaw(rawKey
):Ed25519PublicKey
Defined in: packages/identity/src/identity/ed25519.ts:51
Parameters
Section titled “Parameters”rawKey
Section titled “rawKey”Uint8Array
Returns
Section titled “Returns”Ed25519PublicKey