UNPKG

@wildboar/pc

Version:

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

61 lines 5.56 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.platformConfiguration = exports.tcg_at_platformConfiguration_v2 = exports._encode_PlatformConfiguration = exports._decode_PlatformConfiguration = exports.PlatformConfiguration = 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 PlatformConfiguration_ta_1 = require("../PlatformCertificateProfile/PlatformConfiguration.ta"); var PlatformConfiguration_ta_2 = require("../PlatformCertificateProfile/PlatformConfiguration.ta"); Object.defineProperty(exports, "PlatformConfiguration", { enumerable: true, get: function () { return PlatformConfiguration_ta_2.PlatformConfiguration; } }); Object.defineProperty(exports, "_decode_PlatformConfiguration", { enumerable: true, get: function () { return PlatformConfiguration_ta_2._decode_PlatformConfiguration; } }); Object.defineProperty(exports, "_encode_PlatformConfiguration", { enumerable: true, get: function () { return PlatformConfiguration_ta_2._encode_PlatformConfiguration; } }); const tcg_at_platformConfiguration_v2_va_1 = require("../PlatformCertificateProfile/tcg-at-platformConfiguration-v2.va"); var tcg_at_platformConfiguration_v2_va_2 = require("../PlatformCertificateProfile/tcg-at-platformConfiguration-v2.va"); Object.defineProperty(exports, "tcg_at_platformConfiguration_v2", { enumerable: true, get: function () { return tcg_at_platformConfiguration_v2_va_2.tcg_at_platformConfiguration_v2; } }); /* START_OF_SYMBOL_DEFINITION platformConfiguration */ /** * @summary platformConfiguration * @description * * ### ASN.1 Definition: * * ```asn1 * platformConfiguration ATTRIBUTE ::= { * WITH SYNTAX PlatformConfiguration * ID tcg-at-platformConfiguration-v2 } * ``` * * @constant * @type {ATTRIBUTE<PlatformConfiguration>} * @implements {ATTRIBUTE<PlatformConfiguration>} */ exports.platformConfiguration = { class: "ATTRIBUTE", decoderFor: { "&Type": PlatformConfiguration_ta_1._decode_PlatformConfiguration, }, encoderFor: { "&Type": PlatformConfiguration_ta_1._encode_PlatformConfiguration, }, "&id": tcg_at_platformConfiguration_v2_va_1.tcg_at_platformConfiguration_v2 /* 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 platformConfiguration */ /* eslint-enable */ //# sourceMappingURL=platformConfiguration.oa.js.map