@wildboar/pc
Version:
Trusted Computing Group Platform Certificate ASN.1 data structures in TypeScript
78 lines (77 loc) • 2.06 kB
JavaScript
import * as $ from "@wildboar/asn1/functional";
/**
* @summary StrengthOfFunction
* @description
*
* ### ASN.1 Definition:
*
* ```asn1
* StrengthOfFunction ::= ENUMERATED {
* basic (0),
* medium (1),
* high (2) }
* ```
*
* @enum {number}
*/
export var _enum_for_StrengthOfFunction;
(function (_enum_for_StrengthOfFunction) {
_enum_for_StrengthOfFunction[_enum_for_StrengthOfFunction["basic"] = 0] = "basic";
_enum_for_StrengthOfFunction[_enum_for_StrengthOfFunction["medium"] = 1] = "medium";
_enum_for_StrengthOfFunction[_enum_for_StrengthOfFunction["high"] = 2] = "high";
})(_enum_for_StrengthOfFunction || (_enum_for_StrengthOfFunction = {}));
/**
* @summary StrengthOfFunction
* @description
*
* ### ASN.1 Definition:
*
* ```asn1
* StrengthOfFunction ::= ENUMERATED {
* basic (0),
* medium (1),
* high (2) }
* ```
*
* @enum {number}
*/
export const StrengthOfFunction = _enum_for_StrengthOfFunction;
/**
* @summary StrengthOfFunction_basic
* @constant
* @type {number}
*/
export const StrengthOfFunction_basic = StrengthOfFunction.basic; /* LONG_NAMED_ENUMERATED_VALUE */
/**
* @summary basic
* @constant
* @type {number}
*/
export const basic = StrengthOfFunction.basic; /* SHORT_NAMED_ENUMERATED_VALUE */
/**
* @summary StrengthOfFunction_medium
* @constant
* @type {number}
*/
export const StrengthOfFunction_medium = StrengthOfFunction.medium; /* LONG_NAMED_ENUMERATED_VALUE */
/**
* @summary medium
* @constant
* @type {number}
*/
export const medium = StrengthOfFunction.medium; /* SHORT_NAMED_ENUMERATED_VALUE */
/**
* @summary StrengthOfFunction_high
* @constant
* @type {number}
*/
export const StrengthOfFunction_high = StrengthOfFunction.high; /* LONG_NAMED_ENUMERATED_VALUE */
/**
* @summary high
* @constant
* @type {number}
*/
export const high = StrengthOfFunction.high; /* SHORT_NAMED_ENUMERATED_VALUE */
export const _decode_StrengthOfFunction = $._decodeEnumerated;
export const _encode_StrengthOfFunction = $._encodeEnumerated;
/* eslint-enable */