UNPKG

@wildboar/pc

Version:

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

61 lines 5.65 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.tCGPlatformSpecification = exports.tcg_at_tcgPlatformSpecification = exports._encode_TCGPlatformSpecification = exports._decode_TCGPlatformSpecification = exports.TCGPlatformSpecification = exports._encode_AttributeUsage = exports._decode_AttributeUsage = exports.dSAOperation = exports.AttributeUsage_dSAOperation = exports.distributedOperation = exports.AttributeUsage_distributedOperation = exports.directoryOperation = exports.AttributeUsage_directoryOperation = exports.userApplications = exports.AttributeUsage_userApplications = exports._enum_for_AttributeUsage = void 0; const AttributeUsage_ta_1 = require("@wildboar/x500/src/lib/modules/InformationFramework/AttributeUsage.ta"); var AttributeUsage_ta_2 = require("@wildboar/x500/src/lib/modules/InformationFramework/AttributeUsage.ta"); Object.defineProperty(exports, "_enum_for_AttributeUsage", { enumerable: true, get: function () { return AttributeUsage_ta_2._enum_for_AttributeUsage; } }); Object.defineProperty(exports, "AttributeUsage_userApplications", { enumerable: true, get: function () { return AttributeUsage_ta_2.AttributeUsage_userApplications; } }); /* IMPORTED_LONG_ENUMERATION_ITEM */ Object.defineProperty(exports, "userApplications", { enumerable: true, get: function () { return AttributeUsage_ta_2.userApplications; } }); /* IMPORTED_SHORT_ENUMERATION_ITEM */ Object.defineProperty(exports, "AttributeUsage_directoryOperation", { enumerable: true, get: function () { return AttributeUsage_ta_2.AttributeUsage_directoryOperation; } }); /* IMPORTED_LONG_ENUMERATION_ITEM */ Object.defineProperty(exports, "directoryOperation", { enumerable: true, get: function () { return AttributeUsage_ta_2.directoryOperation; } }); /* IMPORTED_SHORT_ENUMERATION_ITEM */ Object.defineProperty(exports, "AttributeUsage_distributedOperation", { enumerable: true, get: function () { return AttributeUsage_ta_2.AttributeUsage_distributedOperation; } }); /* IMPORTED_LONG_ENUMERATION_ITEM */ Object.defineProperty(exports, "distributedOperation", { enumerable: true, get: function () { return AttributeUsage_ta_2.distributedOperation; } }); /* IMPORTED_SHORT_ENUMERATION_ITEM */ Object.defineProperty(exports, "AttributeUsage_dSAOperation", { enumerable: true, get: function () { return AttributeUsage_ta_2.AttributeUsage_dSAOperation; } }); /* IMPORTED_LONG_ENUMERATION_ITEM */ Object.defineProperty(exports, "dSAOperation", { enumerable: true, get: function () { return AttributeUsage_ta_2.dSAOperation; } }); /* IMPORTED_SHORT_ENUMERATION_ITEM */ Object.defineProperty(exports, "_decode_AttributeUsage", { enumerable: true, get: function () { return AttributeUsage_ta_2._decode_AttributeUsage; } }); Object.defineProperty(exports, "_encode_AttributeUsage", { enumerable: true, get: function () { return AttributeUsage_ta_2._encode_AttributeUsage; } }); const TCGPlatformSpecification_ta_1 = require("../PlatformCertificateProfile/TCGPlatformSpecification.ta"); var TCGPlatformSpecification_ta_2 = require("../PlatformCertificateProfile/TCGPlatformSpecification.ta"); Object.defineProperty(exports, "TCGPlatformSpecification", { enumerable: true, get: function () { return TCGPlatformSpecification_ta_2.TCGPlatformSpecification; } }); Object.defineProperty(exports, "_decode_TCGPlatformSpecification", { enumerable: true, get: function () { return TCGPlatformSpecification_ta_2._decode_TCGPlatformSpecification; } }); Object.defineProperty(exports, "_encode_TCGPlatformSpecification", { enumerable: true, get: function () { return TCGPlatformSpecification_ta_2._encode_TCGPlatformSpecification; } }); const tcg_at_tcgPlatformSpecification_va_1 = require("../PlatformCertificateProfile/tcg-at-tcgPlatformSpecification.va"); var tcg_at_tcgPlatformSpecification_va_2 = require("../PlatformCertificateProfile/tcg-at-tcgPlatformSpecification.va"); Object.defineProperty(exports, "tcg_at_tcgPlatformSpecification", { enumerable: true, get: function () { return tcg_at_tcgPlatformSpecification_va_2.tcg_at_tcgPlatformSpecification; } }); /* START_OF_SYMBOL_DEFINITION tCGPlatformSpecification */ /** * @summary tCGPlatformSpecification * @description * * ### ASN.1 Definition: * * ```asn1 * tCGPlatformSpecification ATTRIBUTE ::= { * WITH SYNTAX TCGPlatformSpecification * ID tcg-at-tcgPlatformSpecification } * ``` * * @constant * @type {ATTRIBUTE<TCGPlatformSpecification>} * @implements {ATTRIBUTE<TCGPlatformSpecification>} */ exports.tCGPlatformSpecification = { class: "ATTRIBUTE", decoderFor: { "&Type": TCGPlatformSpecification_ta_1._decode_TCGPlatformSpecification, }, encoderFor: { "&Type": TCGPlatformSpecification_ta_1._encode_TCGPlatformSpecification, }, "&id": tcg_at_tcgPlatformSpecification_va_1.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": AttributeUsage_ta_1.userApplications /* OBJECT_FIELD_SETTING DEFAULT_OBJECT_FIELD_SETTING */, "&obsolete": false /* OBJECT_FIELD_SETTING DEFAULT_OBJECT_FIELD_SETTING */, }; /* END_OF_SYMBOL_DEFINITION tCGPlatformSpecification */ /* eslint-enable */ //# sourceMappingURL=tCGPlatformSpecification.oa.js.map