UNPKG

@wildboar/pkcs

Version:
78 lines (77 loc) 2.05 kB
import { ASN1Element as _Element } from "asn1-ts"; import * as $ from "asn1-ts/dist/node/functional"; /** * @summary FingerPrint_hand * @description * * ### ASN.1 Definition: * * ```asn1 * FingerPrint-hand ::= ENUMERATED { -- REMOVED_FROM_UNNESTING -- } * ```@enum {number} */ export declare enum _enum_for_FingerPrint_hand { left = 0, right = 1 } /** * @summary FingerPrint_hand * @description * * ### ASN.1 Definition: * * ```asn1 * FingerPrint-hand ::= ENUMERATED { -- REMOVED_FROM_UNNESTING -- } * ```@enum {number} */ export declare type FingerPrint_hand = _enum_for_FingerPrint_hand; /** * @summary FingerPrint_hand * @description * * ### ASN.1 Definition: * * ```asn1 * FingerPrint-hand ::= ENUMERATED { -- REMOVED_FROM_UNNESTING -- } * ```@enum {number} */ export declare const FingerPrint_hand: typeof _enum_for_FingerPrint_hand; /** * @summary FingerPrint_hand_left * @constant * @type {number} */ export declare const FingerPrint_hand_left: FingerPrint_hand; /** * @summary left * @constant * @type {number} */ export declare const left: FingerPrint_hand; /** * @summary FingerPrint_hand_right * @constant * @type {number} */ export declare const FingerPrint_hand_right: FingerPrint_hand; /** * @summary right * @constant * @type {number} */ export declare const right: FingerPrint_hand; /** * @summary Decodes an ASN.1 element into a(n) FingerPrint_hand * @function * @param {_Element} el The element being decoded. * @returns {FingerPrint_hand} The decoded data structure. */ export declare function _decode_FingerPrint_hand(el: _Element): _enum_for_FingerPrint_hand; /** * @summary Encodes a(n) FingerPrint_hand into an ASN.1 Element. * @function * @param {value} el The element being decoded. * @param elGetter A function that can be used to get new ASN.1 elements. * @returns {_Element} The FingerPrint_hand, encoded as an ASN.1 Element. */ export declare function _encode_FingerPrint_hand(value: FingerPrint_hand, elGetter: $.ASN1Encoder<FingerPrint_hand>): _Element;