import { ASN1Element as _Element, BOOLEAN, OPTIONAL } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; import { DistributionPointName } from "../CertificateExtensions/DistributionPointName.ta.mjs"; import { ReasonFlags } from "../CertificateExtensions/ReasonFlags.ta.mjs"; /** * @summary IssuingDistPointSyntax * @description * * ### ASN.1 Definition: * * ```asn1 * IssuingDistPointSyntax ::= SEQUENCE { * -- If onlyContainsUserPublicKeyCerts and onlyContainsCACerts are both FALSE, * -- the CRL covers both public-key certificate types * distributionPoint [0] DistributionPointName OPTIONAL, * onlyContainsUserPublicKeyCerts [1] BOOLEAN DEFAULT FALSE, * onlyContainsCACerts [2] BOOLEAN DEFAULT FALSE, * onlySomeReasons [3] ReasonFlags OPTIONAL, * indirectCRL [4] BOOLEAN DEFAULT FALSE, * onlyContainsAttributeCerts [5] BOOLEAN OPTIONAL, -- Use is strongly deprecated * ... } * ``` * */ export declare class IssuingDistPointSyntax { /** * @summary `distributionPoint`. * @public * @readonly */ readonly distributionPoint?: OPTIONAL; /** * @summary `onlyContainsUserPublicKeyCerts`. * @public * @readonly */ readonly onlyContainsUserPublicKeyCerts?: OPTIONAL; /** * @summary `onlyContainsCACerts`. * @public * @readonly */ readonly onlyContainsCACerts?: OPTIONAL; /** * @summary `onlySomeReasons`. * @public * @readonly */ readonly onlySomeReasons?: OPTIONAL; /** * @summary `indirectCRL`. * @public * @readonly */ readonly indirectCRL?: OPTIONAL; /** * @summary `onlyContainsAttributeCerts`. * @public * @readonly */ readonly onlyContainsAttributeCerts?: OPTIONAL; /** * @summary Extensions that are not recognized. * @public * @readonly */ readonly _unrecognizedExtensionsList: _Element[]; constructor( /** * @summary `distributionPoint`. * @public * @readonly */ distributionPoint?: OPTIONAL, /** * @summary `onlyContainsUserPublicKeyCerts`. * @public * @readonly */ onlyContainsUserPublicKeyCerts?: OPTIONAL, /** * @summary `onlyContainsCACerts`. * @public * @readonly */ onlyContainsCACerts?: OPTIONAL, /** * @summary `onlySomeReasons`. * @public * @readonly */ onlySomeReasons?: OPTIONAL, /** * @summary `indirectCRL`. * @public * @readonly */ indirectCRL?: OPTIONAL, /** * @summary `onlyContainsAttributeCerts`. * @public * @readonly */ onlyContainsAttributeCerts?: OPTIONAL, /** * @summary Extensions that are not recognized. * @public * @readonly */ _unrecognizedExtensionsList?: _Element[]); /** * @summary Restructures an object into a IssuingDistPointSyntax * @description * * This takes an `object` and converts it to a `IssuingDistPointSyntax`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `IssuingDistPointSyntax`. * @returns {IssuingDistPointSyntax} */ static _from_object(_o: { [_K in keyof IssuingDistPointSyntax]: IssuingDistPointSyntax[_K]; }): IssuingDistPointSyntax; /** * @summary Getter that returns the default value for `onlyContainsUserPublicKeyCerts`. * @public * @static * @method */ static get _default_value_for_onlyContainsUserPublicKeyCerts(): BOOLEAN; /** * @summary Getter that returns the default value for `onlyContainsCACerts`. * @public * @static * @method */ static get _default_value_for_onlyContainsCACerts(): BOOLEAN; /** * @summary Getter that returns the default value for `indirectCRL`. * @public * @static * @method */ static get _default_value_for_indirectCRL(): BOOLEAN; } /** * @summary The Leading Root Component Types of IssuingDistPointSyntax * @description * * This is an array of `ComponentSpec`s that define how to decode the leading root component type list of a SET or SEQUENCE. * * @constant */ export declare const _root_component_type_list_1_spec_for_IssuingDistPointSyntax: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of IssuingDistPointSyntax * @description * * This is an array of `ComponentSpec`s that define how to decode the trailing root component type list of a SET or SEQUENCE. * * @constant */ export declare const _root_component_type_list_2_spec_for_IssuingDistPointSyntax: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of IssuingDistPointSyntax * @description * * This is an array of `ComponentSpec`s that define how to decode the extension addition component type list of a SET or SEQUENCE. * * @constant */ export declare const _extension_additions_list_spec_for_IssuingDistPointSyntax: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) IssuingDistPointSyntax * @function * @param {_Element} el The element being decoded. * @returns {IssuingDistPointSyntax} The decoded data structure. */ export declare function _decode_IssuingDistPointSyntax(el: _Element): IssuingDistPointSyntax; /** * @summary Encodes a(n) IssuingDistPointSyntax 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 IssuingDistPointSyntax, encoded as an ASN.1 Element. */ export declare function _encode_IssuingDistPointSyntax(value: IssuingDistPointSyntax, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=IssuingDistPointSyntax.ta.d.mts.map