UNPKG

@wildboar/pc

Version:

Trusted Computing Group Platform Certificate ASN.1 data structures in TypeScript

38 lines (37 loc) 1.67 kB
import { userApplications /* IMPORTED_SHORT_ENUMERATION_ITEM */, } from "@wildboar/x500/InformationFramework"; import { _decode_TCGPlatformSpecification, _encode_TCGPlatformSpecification } from "../PlatformCertificateProfile/TCGPlatformSpecification.ta.mjs"; import { tcg_at_tcgPlatformSpecification } from "../PlatformCertificateProfile/tcg-at-tcgPlatformSpecification.va.mjs"; /** * @summary tCGPlatformSpecification * @description * * ### ASN.1 Definition: * * ```asn1 * tCGPlatformSpecification ATTRIBUTE ::= { * WITH SYNTAX TCGPlatformSpecification * ID tcg-at-tcgPlatformSpecification } * ``` * * @constant * @type {ATTRIBUTE<TCGPlatformSpecification>} * @implements {ATTRIBUTE<TCGPlatformSpecification>} */ export const tCGPlatformSpecification = { class: "ATTRIBUTE", decoderFor: { "&Type": _decode_TCGPlatformSpecification, }, encoderFor: { "&Type": _encode_TCGPlatformSpecification, }, "&id": tcg_at_tcgPlatformSpecification /* OBJECT_FIELD_SETTING */ /* UNIQUE_OBJECT_FIELD_SETTING */, "&Type": 0 /* OBJECT_FIELD_SETTING OBJECT_TYPE_FIELD_SETTING */, "&single-valued": false /* OBJECT_FIELD_SETTING DEFAULT_OBJECT_FIELD_SETTING */, "&collective": false /* OBJECT_FIELD_SETTING DEFAULT_OBJECT_FIELD_SETTING */, "&dummy": false /* OBJECT_FIELD_SETTING DEFAULT_OBJECT_FIELD_SETTING */, "&no-user-modification": false /* OBJECT_FIELD_SETTING DEFAULT_OBJECT_FIELD_SETTING */, "&usage": userApplications /* OBJECT_FIELD_SETTING DEFAULT_OBJECT_FIELD_SETTING */, "&obsolete": false /* OBJECT_FIELD_SETTING DEFAULT_OBJECT_FIELD_SETTING */, }; /* eslint-enable */