UNPKG

@wildboar/pkcs

Version:
31 lines 1.14 kB
import { ASN1Element as _Element } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { AuthenticationType } from "../PKCS-15/AuthenticationType.ta.mjs"; import { PathOrObjects } from "../PKCS-15/PathOrObjects.ta.mjs"; /** * @summary AuthObjects * @description * * ### ASN.1 Definition: * * ```asn1 * AuthObjects ::= PathOrObjects {AuthenticationType} * ``` */ export type AuthObjects = PathOrObjects<AuthenticationType>; /** * @summary Decodes an ASN.1 element into a(n) AuthObjects * @function * @param {_Element} el The element being decoded. * @returns {AuthObjects} The decoded data structure. */ export declare function _decode_AuthObjects(el: _Element): AuthObjects; /** * @summary Encodes a(n) AuthObjects into an ASN.1 Element. * @function * @param value The element being encoded. * @param elGetter A function that can be used to get new ASN.1 elements. * @returns {_Element} The AuthObjects, encoded as an ASN.1 Element. */ export declare function _encode_AuthObjects(value: AuthObjects, elGetter: $.ASN1Encoder<AuthObjects>): _Element; //# sourceMappingURL=AuthObjects.ta.d.mts.map