Class SlotCollection

Collection of slots

Hierarchy (view full)

Constructors

Properties

Accessors

Methods

Constructors

Properties

Type for child item initialization

innerItems: any[]

List of inner items

lib: PKCS11

PKCS#11 module

module: Module

PKCS#11 module

Accessors

  • get length(): number
  • Returns length of collection

    Returns number

Methods

  • A method that returns the default iterator for an object. Called by the semantics of the for-of statement.

    Returns {
        next(): IteratorResult<Slot, any>;
    }

  • Returns the index of the first occurrence of a value in an array.

    Parameters

    • obj: Slot

      The value to locate in the array.

    • fromIndex: number = 0

      The array index at which to begin the search.

    Returns number

    If fromIndex is omitted, the search starts at index 0.

  • Returns item from collection by index

    Parameters

    • index: number

      Index of element in the collection [0..n]

    Returns Slot

    Child item