import { OBJECT_IDENTIFIER } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; /** * @summary CONTENT_TYPE * @description * * ### ASN.1 Definition: * * ```asn1 * CONTENT-TYPE ::= CLASS { * &id OBJECT IDENTIFIER UNIQUE, * &Type OPTIONAL * } WITH SYNTAX { * [TYPE &Type] IDENTIFIED BY &id * } * ``` * * @interface */ export interface CONTENT_TYPE { /** * @summary A fixed string that can be used for external programs to determine the object class of this object. */ readonly class: "CONTENT-TYPE"; /** * @summary A map of type fields to their corresponding decoders. */ readonly decoderFor: Partial<{ [_K in keyof CONTENT_TYPE]: $.ASN1Decoder[_K]>; }>; /** * @summary A map of type fields to their corresponding encoders. */ readonly encoderFor: Partial<{ [_K in keyof CONTENT_TYPE]: $.ASN1Encoder[_K]>; }>; /** * @summary &id */ readonly "&id"?: OBJECT_IDENTIFIER; /** * @summary &Type */ readonly "&Type": Type; } //# sourceMappingURL=CONTENT-TYPE.oca.d.mts.map