UNPKG

@apeleghq/cms-classes

Version:

A collection of utility classes to encode ASN.1 data following DER rules

2 lines (1 loc) 949 B
import{Asn1Sequence as A}from"@apeleghq/asn1-der";var i=class extends A{constructor(t,e){super([t,e])}},l=i;import{Asn1Set as x}from"@apeleghq/asn1-der";var s=class extends x{constructor(t){super(t)}},g=s;import{Asn1Sequence as S}from"@apeleghq/asn1-der";var n=class extends S{constructor(t,e,o){super([t,e,o])}},b=n;import{Asn1ContextSpecific as I,Asn1Sequence as h}from"@apeleghq/asn1-der";import{Asn1Integer as y}from"@apeleghq/asn1-der";var f,m=class extends y{static get v1(){return f||(f=new this(0)),f}constructor(t){super(t)}},u=m;var p=class extends h{constructor(t,e,o){let c={};super([u.v1,t,e,o?new I(0,o,!1):c].filter(d=>d!==c))}},j=p;import{Asn1AnyRaw as q,Asn1Sequence as w}from"@apeleghq/asn1-der";var a=class extends w{static get importDer(){return t=>new q(t)}constructor(t,e){super([t,e])}},V=a;export{l as Attribute,g as Attributes,b as CertificationRequest,j as CertificationRequestInfo,V as SubjectPublicKeyInfo,u as Version};