@opentdf/sdk
    Preparing search index...

    Class RewrapCache

    Cache for headers of nanotdf collections, to quickly open multiple entries of the same collection. It has a demon that removes all keys that have not been accessed in the last 5 minutes. To cancel the demon, and clear the cache, call close().

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Close the cache and release any resources.

      Returns void

    • Parameters

      • key: Uint8Array

      Returns undefined | CryptoKey

    • Set a key in the cache.

      Parameters

      • key: Uint8Array
      • value: CryptoKey

      Returns void