Keeta LogoKeeta Logo@keetanetwork/keetanet-client
    Preparing search index...

    Abstract interface to all kinds of key-related functions

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    driverHandlesHashing: boolean
    derivePrivateKeyFromSeed?: seedDerivationFunction

    Create a private key generated from a seed value and an index

    Create a new instance with a private key generated from a seed value and index

    isInstance: (obj: any, strict?: boolean) => obj is ExternalKeyPair = ...

    Accessors

    • get hasPrivateKey(): boolean

      Determine if this key pair has a private key associated

      Returns boolean

    • get supportsEncryption(): boolean

      Determine if the key supports encryption/decryption

      Returns boolean

    Methods

    • Testing interface to validate that a private key is equal to some value (undefined if undecidable)

      Parameters

      • _ignore_checkKey: ArrayBuffer

      Returns undefined

    • Decrypt some data

      Parameters

      • ...parameters: [data: ArrayBuffer]

      Returns Promise<ArrayBuffer>

    • Encrypt some data

      Parameters

      • ...parameters: [data: ArrayBuffer]

      Returns Promise<ArrayBuffer>