Retrieves the securely stored private key.
A promise that resolves with the private key.
Retrieves the public key corresponding to the securely stored private key.
A promise that resolves with the corresponding Ed25519PublicKey.
Signs arbitrary data using the securely stored Ed25519 private key.
The hex-encoded data to be signed.
A promise that resolves with an object containing the signature and the public key.
Signs a transaction using the securely stored Ed25519 private key.
The CBOR-encoded transaction hex string to be signed.
A promise that resolves with the VkeyWitnessSet containing the signature.
Defines the contract for a secure key handler that manages a single, non-derivable Ed25519 private key.
Implementations of this interface are responsible for keeping the private key secure. The key should only be decrypted for the brief duration of a cryptographic operation in the case of in-memory implementations, after which thy must be securely wiped from memory to minimize exposure.