UNPKG

@peculiar/asn1-tsp

Version:

ASN.1 schema for the Time-Stamp Protocol (TSP) defined in RFC 3161.

26 lines (25 loc) 681 B
import { __decorate } from "tslib"; import { AsnProp, AsnPropTypes } from "@peculiar/asn1-schema"; export class Accuracy { seconds = 0; millis; micros; constructor(params = {}) { Object.assign(this, params); } } __decorate([ AsnProp({ type: AsnPropTypes.Integer, optional: true, }) ], Accuracy.prototype, "seconds", void 0); __decorate([ AsnProp({ type: AsnPropTypes.Integer, context: 0, implicit: true, optional: true, }) ], Accuracy.prototype, "millis", void 0); __decorate([ AsnProp({ type: AsnPropTypes.Integer, context: 1, implicit: true, optional: true, }) ], Accuracy.prototype, "micros", void 0);