Sigs

Sigs

Source:

Methods

(static) getEnabledAlgorithms() → {Array.<Sigs.Algorithm>}

Source:

Gets an array of signature algorithms that were enabled at compile-time and are available for use.

Returns:
  • A list of enabled signature algorithms.
Type
Array.<Sigs.Algorithm>

(static) isAlgorithmEnabled(algorithm) → {boolean}

Source:

Checks if an algorithm was enabled at compile-time and is available for use.

Parameters:
Name Type Description
algorithm Sigs.Algorithm

The algorithm to check.

Throws:

Will throw an error if any argument is invalid.

Type
TypeError
Returns:
  • Whether the algorithm is enabled.
Type
boolean

Type Definitions

Algorithm

Source:

The different signature algorithms that can be used. Use Sigs.getEnabledAlgorithms for an array of available algorithms.

Type:
  • string