@wildboar/pc
Version:
Trusted Computing Group Platform Certificate ASN.1 data structures in TypeScript
57 lines • 4.53 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.platformModel = exports.tcg_at_platformModel = 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 $ = require("asn1-ts/dist/node/functional");
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 tcg_at_platformModel_va_1 = require("../PlatformCertificateProfile/tcg-at-platformModel.va");
var tcg_at_platformModel_va_2 = require("../PlatformCertificateProfile/tcg-at-platformModel.va");
Object.defineProperty(exports, "tcg_at_platformModel", { enumerable: true, get: function () { return tcg_at_platformModel_va_2.tcg_at_platformModel; } });
/* START_OF_SYMBOL_DEFINITION platformModel */
/**
* @summary platformModel
* @description
*
* ### ASN.1 Definition:
*
* ```asn1
* platformModel ATTRIBUTE ::= {
* WITH SYNTAX UTF8String (SIZE (1..strmax))
* ID tcg-at-platformModel }
* ```
*
* @constant
* @type {ATTRIBUTE<UTF8String>}
* @implements {ATTRIBUTE<UTF8String>}
*/
exports.platformModel = {
class: "ATTRIBUTE",
decoderFor: {
"&Type": $._decodeUTF8String,
},
encoderFor: {
"&Type": $._encodeUTF8String,
},
"&id": tcg_at_platformModel_va_1.tcg_at_platformModel /* 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 platformModel */
/* eslint-enable */
//# sourceMappingURL=platformModel.oa.js.map