import { ASN1Element as _Element, OBJECT_IDENTIFIER } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; /** * @summary OtherRevocationInfoFormat * @description * * ### ASN.1 Definition: * * ```asn1 * OtherRevocationInfoFormat ::= SEQUENCE { * otherRevInfoFormat OTHER-REVOK-INFO.&id({SupportedOtherRevokInfo}), * otherRevInfo OTHER-REVOK-INFO.&Type * ({SupportedOtherRevokInfo}{@otherRevInfoFormat})} * ``` * */ export declare class OtherRevocationInfoFormat { /** * @summary `otherRevInfoFormat`. * @public * @readonly */ readonly otherRevInfoFormat: OBJECT_IDENTIFIER; /** * @summary `otherRevInfo`. * @public * @readonly */ readonly otherRevInfo: _Element; constructor( /** * @summary `otherRevInfoFormat`. * @public * @readonly */ otherRevInfoFormat: OBJECT_IDENTIFIER, /** * @summary `otherRevInfo`. * @public * @readonly */ otherRevInfo: _Element); /** * @summary Restructures an object into a OtherRevocationInfoFormat * @description * * This takes an `object` and converts it to a `OtherRevocationInfoFormat`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `OtherRevocationInfoFormat`. * @returns {OtherRevocationInfoFormat} */ static _from_object(_o: { [_K in keyof OtherRevocationInfoFormat]: OtherRevocationInfoFormat[_K]; }): OtherRevocationInfoFormat; } /** * @summary The Leading Root Component Types of OtherRevocationInfoFormat * @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_OtherRevocationInfoFormat: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of OtherRevocationInfoFormat * @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_OtherRevocationInfoFormat: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of OtherRevocationInfoFormat * @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_OtherRevocationInfoFormat: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) OtherRevocationInfoFormat * @function * @param {_Element} el The element being decoded. * @returns {OtherRevocationInfoFormat} The decoded data structure. */ export declare function _decode_OtherRevocationInfoFormat(el: _Element): OtherRevocationInfoFormat; /** * @summary Encodes a(n) OtherRevocationInfoFormat 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 OtherRevocationInfoFormat, encoded as an ASN.1 Element. */ export declare function _encode_OtherRevocationInfoFormat(value: OtherRevocationInfoFormat, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=OtherRevocationInfoFormat.ta.d.mts.map