import { ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { Certificate } from '@wildboar/x500/AuthenticationFramework'; import { SCVPCertID } from '../SCVP-2009/SCVPCertID.ta.mjs'; /** * @summary PKCReference * @description * * ### ASN.1 Definition: * * ```asn1 * PKCReference ::= CHOICE { * cert [0] Certificate, * pkcRef [1] SCVPCertID * } * ``` */ export type PKCReference = { cert: Certificate; } | { pkcRef: SCVPCertID; }; /** * @summary Decodes an ASN.1 element into a(n) PKCReference * @function * @param {_Element} el The element being decoded. * @returns {PKCReference} The decoded data structure. */ export declare function _decode_PKCReference(el: _Element): PKCReference; /** * @summary Encodes a(n) PKCReference 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 PKCReference, encoded as an ASN.1 Element. */ export declare function _encode_PKCReference(value: PKCReference, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=PKCReference.ta.d.mts.map