Class SecurityInfos

Class for ASN1 schema of SecurityInfo set. Described by ICAO 9303 p.10 section 4.7.14.2

Hierarchy

Properties

[unscopables]: {
    [unscopables]?: boolean;
    length?: boolean;
}

Is an object whose properties have the value 'true' when they will be absent when used in a 'with' statement.

Type declaration

  • Optional Readonly[unscopables]?: boolean

    Is an object whose properties have the value 'true' when they will be absent when used in a 'with' statement.

  • Optionallength?: boolean

    Gets or sets the length of the array. This is a number one higher than the highest index in the array.

length: number

Gets or sets the length of the array. This is a number one higher than the highest index in the array.

Methods

  • Returns the this object after copying a section of the array identified by start and end to the same array starting at position target

    Parameters

    • target: number

      If target is negative, it is treated as length+target where length is the length of the array.

    • start: number

      If start is negative, it is treated as length+start. If end is negative, it is treated as length+end.

    • Optionalend: number

      If not specified, length of the this object is used as its default value.

    Returns this

  • Changes all array elements from start to end index to a static value and returns the modified array

    Parameters

    Returns this

  • Returns a new array with all sub-array elements concatenated into it recursively up to the specified depth.

    Type Parameters

    • A
    • D extends number = 1

    Parameters

    • this: A
    • Optionaldepth: D

      The maximum recursion depth

    Returns FlatArray<A, D>[]

  • Adds all the elements of an array into a string, separated by the specified separator string.

    Parameters

    • Optionalseparator: string

      A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.

    Returns string

  • Returns an iterable of keys in the array

    Returns IterableIterator<number>

  • Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.

    Parameters

    Returns number

  • Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.

    Returns string

  • Returns a string representation of an array.

    Returns string

  • Creates an array from an array-like object.

    Type Parameters

    • T

    Parameters

    • arrayLike: ArrayLike<T>

      An array-like object to convert to an array.

    Returns T[]

  • Creates an array from an iterable object.

    Type Parameters

    • T
    • U

    Parameters

    • arrayLike: ArrayLike<T>

      An array-like object to convert to an array.

    • mapfn: ((v: T, k: number) => U)

      A mapping function to call on every element of the array.

        • (v, k): U
        • Parameters

          • v: T
          • k: number

          Returns U

    • OptionalthisArg: any

      Value of 'this' used to invoke the mapfn.

    Returns U[]

  • Creates an array from an iterable object.

    Type Parameters

    • T

    Parameters

    • iterable: Iterable<T> | ArrayLike<T>

      An iterable object to convert to an array.

    Returns T[]

  • Creates an array from an iterable object.

    Type Parameters

    • T
    • U

    Parameters

    • iterable: Iterable<T> | ArrayLike<T>

      An iterable object to convert to an array.

    • mapfn: ((v: T, k: number) => U)

      A mapping function to call on every element of the array.

        • (v, k): U
        • Parameters

          • v: T
          • k: number

          Returns U

    • OptionalthisArg: any

      Value of 'this' used to invoke the mapfn.

    Returns U[]

  • Creates an array from an async iterator or iterable object.

    Type Parameters

    • T

    Parameters

    • iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>

      An async iterator or array-like object to convert to an array.

    Returns Promise<T[]>

  • Creates an array from an async iterator or iterable object.

    Type Parameters

    • T
    • U

    Parameters

    • iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>

      An async iterator or array-like object to convert to an array.

    • mapFn: ((value: Awaited<T>) => U)
        • (value): U
        • Parameters

          • value: Awaited<T>

          Returns U

    • OptionalthisArg: any

      Value of 'this' used when executing mapfn.

    Returns Promise<Awaited<U>[]>

  • Create an array from an iterable or async iterable object. Values from the iterable are awaited.

    await Array.fromAsync([1]); // [1]
    await Array.fromAsync([Promise.resolve(1)]); // [1]
    await Array.fromAsync((async function*() { yield 1 })()); // [1]

    Type Parameters

    • T

    Parameters

    • arrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>

      The iterable or async iterable to convert to an array.

    Returns Promise<Awaited<T>[]>

    A Promise whose fulfillment is a new Array instance containing the values from the iterator.

  • Create an array from an iterable or async iterable object. Values from the iterable are awaited. Results of the map function are also awaited.

    await Array.fromAsync([1]); // [1]
    await Array.fromAsync([Promise.resolve(1)]); // [1]
    await Array.fromAsync((async function*() { yield 1 })()); // [1]
    await Array.fromAsync([1], (n) => n + 1); // [2]
    await Array.fromAsync([1], (n) => Promise.resolve(n + 1)); // [2]

    Type Parameters

    • T
    • U

    Parameters

    • arrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>

      The iterable or async iterable to convert to an array.

    • OptionalmapFn: ((value: T, index: number) => U)

      A mapper function that transforms each element of arrayLike after awaiting them.

        • (value, index): U
        • Parameters

          • value: T
          • index: number

          Returns U

    • OptionalthisArg: any

      The this to which mapFn is bound.

    Returns Promise<Awaited<U>[]>

    A Promise whose fulfillment is a new Array instance containing the values from the iterator.

  • Returns a new array from a set of elements.

    Type Parameters

    • T

    Parameters

    • Rest...items: T[]

      A set of elements to include in the new array object.

    Returns T[]