UNPKG

@wildboar/pkcs

Version:
65 lines (64 loc) 1.46 kB
import * as $ from "@wildboar/asn1/functional"; /** * @summary CMSVersion_v0 * @constant * @type {number} */ export const CMSVersion_v0 = 0; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary CMSVersion_v0 * @constant * @type {number} */ export const v0 = CMSVersion_v0; /* SHORT_NAMED_INTEGER_VALUE */ /** * @summary CMSVersion_v1 * @constant * @type {number} */ export const CMSVersion_v1 = 1; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary CMSVersion_v1 * @constant * @type {number} */ export const v1 = CMSVersion_v1; /* SHORT_NAMED_INTEGER_VALUE */ /** * @summary CMSVersion_v2 * @constant * @type {number} */ export const CMSVersion_v2 = 2; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary CMSVersion_v2 * @constant * @type {number} */ export const v2 = CMSVersion_v2; /* SHORT_NAMED_INTEGER_VALUE */ /** * @summary CMSVersion_v3 * @constant * @type {number} */ export const CMSVersion_v3 = 3; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary CMSVersion_v3 * @constant * @type {number} */ export const v3 = CMSVersion_v3; /* SHORT_NAMED_INTEGER_VALUE */ /** * @summary CMSVersion_v4 * @constant * @type {number} */ export const CMSVersion_v4 = 4; /* LONG_NAMED_INTEGER_VALUE */ /** * @summary CMSVersion_v4 * @constant * @type {number} */ export const v4 = CMSVersion_v4; /* SHORT_NAMED_INTEGER_VALUE */ export const _decode_CMSVersion = $._decodeInteger; export const _encode_CMSVersion = $._encodeInteger; /* eslint-enable */