UNPKG

@peculiar/asn1-x509

Version:

ASN.1 schema of `Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile` (RFC5280)

16 lines (15 loc) 470 B
import { __decorate } from "tslib"; import { AsnProp, AsnPropTypes } from "@peculiar/asn1-schema"; export class Attribute { constructor(params = {}) { this.type = ""; this.values = []; Object.assign(this, params); } } __decorate([ AsnProp({ type: AsnPropTypes.ObjectIdentifier }) ], Attribute.prototype, "type", void 0); __decorate([ AsnProp({ type: AsnPropTypes.Any, repeated: "set" }) ], Attribute.prototype, "values", void 0);