UNPKG

@peculiar/asn1-x509

Version:

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

17 lines (16 loc) 661 B
import { __decorate } from "tslib"; import { AsnProp, AsnPropTypes, AsnType, AsnTypeTypes, AsnIntegerArrayBufferConverter, } from "@peculiar/asn1-schema"; import { id_ce } from "../object_identifiers"; export const id_ce_inhibitAnyPolicy = `${id_ce}.54`; let InhibitAnyPolicy = class InhibitAnyPolicy { constructor(value = new ArrayBuffer(0)) { this.value = value; } }; __decorate([ AsnProp({ type: AsnPropTypes.Integer, converter: AsnIntegerArrayBufferConverter }) ], InhibitAnyPolicy.prototype, "value", void 0); InhibitAnyPolicy = __decorate([ AsnType({ type: AsnTypeTypes.Choice }) ], InhibitAnyPolicy); export { InhibitAnyPolicy };