Class CryptoProvider

Crypto provider

Implements

  • Map<string, Crypto>

Constructors

Properties

[toStringTag]: string = "CryptoProvider"
items: Map<string, Crypto> = ...
DEFAULT: string = "default"

Accessors

Methods

  • Returns IterableIterator<[string, Crypto]>

  • Parameters

    • key: string

    Returns boolean

  • Returns IterableIterator<[string, Crypto]>

  • Returns default crypto

    Returns Crypto

    Throws

    Error whenever default provider not set

  • Returns crypto by name

    Parameters

    • key: string

      Crypto name

    Returns Crypto

    Throws

    Error whenever provider with specified identifier does not exist

  • Parameters

    • key: string

    Returns boolean

  • Returns IterableIterator<string>

  • Returns IterableIterator<Crypto>

  • Parameters

    • data: any

    Returns data is CryptoKey

  • Returns true if data is CryptoKeyPair

    Parameters

    • data: any

    Returns data is CryptoKeyPair

Generated using TypeDoc