@peculiar/asn1-x509
Advanced tools
Comparing version 2.0.12 to 2.0.13
"use strict"; | ||
var Extensions_1; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -28,8 +29,11 @@ exports.Extensions = exports.Extension = void 0; | ||
exports.Extension = Extension; | ||
let Extensions = class Extensions extends asn1_schema_1.AsnArray { | ||
let Extensions = Extensions_1 = class Extensions extends asn1_schema_1.AsnArray { | ||
constructor(items) { | ||
super(items); | ||
Object.setPrototypeOf(this, Extensions_1.prototype); | ||
} | ||
}; | ||
Extensions = tslib_1.__decorate([ | ||
Extensions = Extensions_1 = tslib_1.__decorate([ | ||
asn1_schema_1.AsnType({ type: asn1_schema_1.AsnTypeTypes.Sequence, itemType: Extension }) | ||
], Extensions); | ||
exports.Extensions = Extensions; | ||
; |
"use strict"; | ||
var AuthorityInfoAccessSyntax_1; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -23,7 +24,11 @@ exports.AuthorityInfoAccessSyntax = exports.AccessDescription = exports.id_pe_authorityInfoAccess = void 0; | ||
exports.AccessDescription = AccessDescription; | ||
let AuthorityInfoAccessSyntax = class AuthorityInfoAccessSyntax extends asn1_schema_1.AsnArray { | ||
let AuthorityInfoAccessSyntax = AuthorityInfoAccessSyntax_1 = class AuthorityInfoAccessSyntax extends asn1_schema_1.AsnArray { | ||
constructor(items) { | ||
super(items); | ||
Object.setPrototypeOf(this, AuthorityInfoAccessSyntax_1.prototype); | ||
} | ||
}; | ||
AuthorityInfoAccessSyntax = tslib_1.__decorate([ | ||
AuthorityInfoAccessSyntax = AuthorityInfoAccessSyntax_1 = tslib_1.__decorate([ | ||
asn1_schema_1.AsnType({ type: asn1_schema_1.AsnTypeTypes.Sequence, itemType: AccessDescription }) | ||
], AuthorityInfoAccessSyntax); | ||
exports.AuthorityInfoAccessSyntax = AuthorityInfoAccessSyntax; |
"use strict"; | ||
var CertificateIssuer_1; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -9,7 +10,11 @@ exports.CertificateIssuer = exports.id_ce_certificateIssuer = void 0; | ||
exports.id_ce_certificateIssuer = `${object_identifiers_1.id_ce}.29`; | ||
let CertificateIssuer = class CertificateIssuer extends general_names_1.GeneralNames { | ||
let CertificateIssuer = CertificateIssuer_1 = class CertificateIssuer extends general_names_1.GeneralNames { | ||
constructor(items) { | ||
super(items); | ||
Object.setPrototypeOf(this, CertificateIssuer_1.prototype); | ||
} | ||
}; | ||
CertificateIssuer = tslib_1.__decorate([ | ||
CertificateIssuer = CertificateIssuer_1 = tslib_1.__decorate([ | ||
asn1_schema_1.AsnType({ type: asn1_schema_1.AsnTypeTypes.Sequence }) | ||
], CertificateIssuer); | ||
exports.CertificateIssuer = CertificateIssuer; |
"use strict"; | ||
var CertificatePolicies_1; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -102,7 +103,11 @@ exports.CertificatePolicies = exports.PolicyInformation = exports.PolicyQualifierInfo = exports.Qualifier = exports.UserNotice = exports.NoticeReference = exports.DisplayText = exports.id_ce_certificatePolicies_anyPolicy = exports.id_ce_certificatePolicies = void 0; | ||
exports.PolicyInformation = PolicyInformation; | ||
let CertificatePolicies = class CertificatePolicies extends asn1_schema_1.AsnArray { | ||
let CertificatePolicies = CertificatePolicies_1 = class CertificatePolicies extends asn1_schema_1.AsnArray { | ||
constructor(items) { | ||
super(items); | ||
Object.setPrototypeOf(this, CertificatePolicies_1.prototype); | ||
} | ||
}; | ||
CertificatePolicies = tslib_1.__decorate([ | ||
CertificatePolicies = CertificatePolicies_1 = tslib_1.__decorate([ | ||
asn1_schema_1.AsnType({ type: asn1_schema_1.AsnTypeTypes.Sequence, itemType: PolicyInformation }) | ||
], CertificatePolicies); | ||
exports.CertificatePolicies = CertificatePolicies; |
"use strict"; | ||
var CRLDistributionPoints_1; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -90,7 +91,11 @@ exports.CRLDistributionPoints = exports.DistributionPoint = exports.DistributionPointName = exports.Reason = exports.ReasonFlags = exports.id_ce_cRLDistributionPoints = void 0; | ||
exports.DistributionPoint = DistributionPoint; | ||
let CRLDistributionPoints = class CRLDistributionPoints extends asn1_schema_1.AsnArray { | ||
let CRLDistributionPoints = CRLDistributionPoints_1 = class CRLDistributionPoints extends asn1_schema_1.AsnArray { | ||
constructor(items) { | ||
super(items); | ||
Object.setPrototypeOf(this, CRLDistributionPoints_1.prototype); | ||
} | ||
}; | ||
CRLDistributionPoints = tslib_1.__decorate([ | ||
CRLDistributionPoints = CRLDistributionPoints_1 = tslib_1.__decorate([ | ||
asn1_schema_1.AsnType({ type: asn1_schema_1.AsnTypeTypes.Sequence, itemType: DistributionPoint }) | ||
], CRLDistributionPoints); | ||
exports.CRLDistributionPoints = CRLDistributionPoints; |
"use strict"; | ||
var ExtendedKeyUsage_1; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -8,5 +9,9 @@ exports.id_kp_OCSPSigning = exports.id_kp_timeStamping = exports.id_kp_emailProtection = exports.id_kp_codeSigning = exports.id_kp_clientAuth = exports.id_kp_serverAuth = exports.anyExtendedKeyUsage = exports.ExtendedKeyUsage = exports.id_ce_extKeyUsage = void 0; | ||
exports.id_ce_extKeyUsage = `${object_identifiers_1.id_ce}.37`; | ||
let ExtendedKeyUsage = class ExtendedKeyUsage extends asn1_schema_1.AsnArray { | ||
let ExtendedKeyUsage = ExtendedKeyUsage_1 = class ExtendedKeyUsage extends asn1_schema_1.AsnArray { | ||
constructor(items) { | ||
super(items); | ||
Object.setPrototypeOf(this, ExtendedKeyUsage_1.prototype); | ||
} | ||
}; | ||
ExtendedKeyUsage = tslib_1.__decorate([ | ||
ExtendedKeyUsage = ExtendedKeyUsage_1 = tslib_1.__decorate([ | ||
asn1_schema_1.AsnType({ type: asn1_schema_1.AsnTypeTypes.Sequence, itemType: asn1_schema_1.AsnPropTypes.ObjectIdentifier }) | ||
@@ -13,0 +18,0 @@ ], ExtendedKeyUsage); |
"use strict"; | ||
var IssueAlternativeName_1; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -9,7 +10,11 @@ exports.IssueAlternativeName = exports.id_ce_issuerAltName = void 0; | ||
exports.id_ce_issuerAltName = `${object_identifiers_1.id_ce}.18`; | ||
let IssueAlternativeName = class IssueAlternativeName extends general_names_1.GeneralNames { | ||
let IssueAlternativeName = IssueAlternativeName_1 = class IssueAlternativeName extends general_names_1.GeneralNames { | ||
constructor(items) { | ||
super(items); | ||
Object.setPrototypeOf(this, IssueAlternativeName_1.prototype); | ||
} | ||
}; | ||
IssueAlternativeName = tslib_1.__decorate([ | ||
IssueAlternativeName = IssueAlternativeName_1 = tslib_1.__decorate([ | ||
asn1_schema_1.AsnType({ type: asn1_schema_1.AsnTypeTypes.Sequence }) | ||
], IssueAlternativeName); | ||
exports.IssueAlternativeName = IssueAlternativeName; |
"use strict"; | ||
var GeneralSubtrees_1; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -26,5 +27,9 @@ exports.NameConstraints = exports.GeneralSubtrees = exports.GeneralSubtree = exports.id_ce_nameConstraints = void 0; | ||
exports.GeneralSubtree = GeneralSubtree; | ||
let GeneralSubtrees = class GeneralSubtrees extends asn1_schema_1.AsnArray { | ||
let GeneralSubtrees = GeneralSubtrees_1 = class GeneralSubtrees extends asn1_schema_1.AsnArray { | ||
constructor(items) { | ||
super(items); | ||
Object.setPrototypeOf(this, GeneralSubtrees_1.prototype); | ||
} | ||
}; | ||
GeneralSubtrees = tslib_1.__decorate([ | ||
GeneralSubtrees = GeneralSubtrees_1 = tslib_1.__decorate([ | ||
asn1_schema_1.AsnType({ type: asn1_schema_1.AsnTypeTypes.Sequence, itemType: GeneralSubtree }) | ||
@@ -31,0 +36,0 @@ ], GeneralSubtrees); |
"use strict"; | ||
var SubjectAlternativeName_1; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -9,7 +10,11 @@ exports.SubjectAlternativeName = exports.id_ce_subjectAltName = void 0; | ||
exports.id_ce_subjectAltName = `${object_identifiers_1.id_ce}.17`; | ||
let SubjectAlternativeName = class SubjectAlternativeName extends general_names_1.GeneralNames { | ||
let SubjectAlternativeName = SubjectAlternativeName_1 = class SubjectAlternativeName extends general_names_1.GeneralNames { | ||
constructor(items) { | ||
super(items); | ||
Object.setPrototypeOf(this, SubjectAlternativeName_1.prototype); | ||
} | ||
}; | ||
SubjectAlternativeName = tslib_1.__decorate([ | ||
SubjectAlternativeName = SubjectAlternativeName_1 = tslib_1.__decorate([ | ||
asn1_schema_1.AsnType({ type: asn1_schema_1.AsnTypeTypes.Sequence }) | ||
], SubjectAlternativeName); | ||
exports.SubjectAlternativeName = SubjectAlternativeName; |
"use strict"; | ||
var SubjectDirectoryAttributes_1; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -9,7 +10,11 @@ exports.SubjectDirectoryAttributes = exports.id_ce_subjectDirectoryAttributes = void 0; | ||
exports.id_ce_subjectDirectoryAttributes = `${object_identifiers_1.id_ce}.9`; | ||
let SubjectDirectoryAttributes = class SubjectDirectoryAttributes extends asn1_schema_1.AsnArray { | ||
let SubjectDirectoryAttributes = SubjectDirectoryAttributes_1 = class SubjectDirectoryAttributes extends asn1_schema_1.AsnArray { | ||
constructor(items) { | ||
super(items); | ||
Object.setPrototypeOf(this, SubjectDirectoryAttributes_1.prototype); | ||
} | ||
}; | ||
SubjectDirectoryAttributes = tslib_1.__decorate([ | ||
SubjectDirectoryAttributes = SubjectDirectoryAttributes_1 = tslib_1.__decorate([ | ||
asn1_schema_1.AsnType({ type: asn1_schema_1.AsnTypeTypes.Sequence, itemType: attribute_1.Attribute }) | ||
], SubjectDirectoryAttributes); | ||
exports.SubjectDirectoryAttributes = SubjectDirectoryAttributes; |
"use strict"; | ||
var GeneralNames_1; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -8,7 +9,11 @@ exports.GeneralNames = void 0; | ||
const asn1_schema_2 = require("@peculiar/asn1-schema"); | ||
let GeneralNames = class GeneralNames extends asn1_schema_2.AsnArray { | ||
let GeneralNames = GeneralNames_1 = class GeneralNames extends asn1_schema_2.AsnArray { | ||
constructor(items) { | ||
super(items); | ||
Object.setPrototypeOf(this, GeneralNames_1.prototype); | ||
} | ||
}; | ||
GeneralNames = tslib_1.__decorate([ | ||
GeneralNames = GeneralNames_1 = tslib_1.__decorate([ | ||
asn1_schema_1.AsnType({ type: asn1_schema_1.AsnTypeTypes.Sequence, itemType: general_name_1.GeneralName }) | ||
], GeneralNames); | ||
exports.GeneralNames = GeneralNames; |
"use strict"; | ||
var RelativeDistinguishedName_1, RDNSequence_1; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -68,11 +69,19 @@ exports.Name = exports.RDNSequence = exports.RelativeDistinguishedName = exports.AttributeTypeAndValue = exports.AttributeValue = exports.DirectoryString = void 0; | ||
exports.AttributeTypeAndValue = AttributeTypeAndValue; | ||
let RelativeDistinguishedName = class RelativeDistinguishedName extends asn1_schema_1.AsnArray { | ||
let RelativeDistinguishedName = RelativeDistinguishedName_1 = class RelativeDistinguishedName extends asn1_schema_1.AsnArray { | ||
constructor(items) { | ||
super(items); | ||
Object.setPrototypeOf(this, RelativeDistinguishedName_1.prototype); | ||
} | ||
}; | ||
RelativeDistinguishedName = tslib_1.__decorate([ | ||
RelativeDistinguishedName = RelativeDistinguishedName_1 = tslib_1.__decorate([ | ||
asn1_schema_1.AsnType({ type: asn1_schema_1.AsnTypeTypes.Set, itemType: AttributeTypeAndValue }) | ||
], RelativeDistinguishedName); | ||
exports.RelativeDistinguishedName = RelativeDistinguishedName; | ||
let RDNSequence = class RDNSequence extends asn1_schema_1.AsnArray { | ||
let RDNSequence = RDNSequence_1 = class RDNSequence extends asn1_schema_1.AsnArray { | ||
constructor(items) { | ||
super(items); | ||
Object.setPrototypeOf(this, RDNSequence_1.prototype); | ||
} | ||
}; | ||
RDNSequence = tslib_1.__decorate([ | ||
RDNSequence = RDNSequence_1 = tslib_1.__decorate([ | ||
asn1_schema_1.AsnType({ type: asn1_schema_1.AsnTypeTypes.Sequence, itemType: RelativeDistinguishedName }) | ||
@@ -79,0 +88,0 @@ ], RDNSequence); |
@@ -0,1 +1,2 @@ | ||
var Extensions_1; | ||
import { __decorate } from "tslib"; | ||
@@ -24,8 +25,11 @@ import { AsnProp, AsnPropTypes, AsnArray, AsnType, AsnTypeTypes, OctetString } from "@peculiar/asn1-schema"; | ||
], Extension.prototype, "extnValue", void 0); | ||
let Extensions = class Extensions extends AsnArray { | ||
let Extensions = Extensions_1 = class Extensions extends AsnArray { | ||
constructor(items) { | ||
super(items); | ||
Object.setPrototypeOf(this, Extensions_1.prototype); | ||
} | ||
}; | ||
Extensions = __decorate([ | ||
Extensions = Extensions_1 = __decorate([ | ||
AsnType({ type: AsnTypeTypes.Sequence, itemType: Extension }) | ||
], Extensions); | ||
export { Extensions }; | ||
; |
@@ -0,1 +1,2 @@ | ||
var AuthorityInfoAccessSyntax_1; | ||
import { __decorate } from "tslib"; | ||
@@ -19,7 +20,11 @@ import { AsnProp, AsnPropTypes, AsnArray, AsnType, AsnTypeTypes } from "@peculiar/asn1-schema"; | ||
], AccessDescription.prototype, "accessLocation", void 0); | ||
let AuthorityInfoAccessSyntax = class AuthorityInfoAccessSyntax extends AsnArray { | ||
let AuthorityInfoAccessSyntax = AuthorityInfoAccessSyntax_1 = class AuthorityInfoAccessSyntax extends AsnArray { | ||
constructor(items) { | ||
super(items); | ||
Object.setPrototypeOf(this, AuthorityInfoAccessSyntax_1.prototype); | ||
} | ||
}; | ||
AuthorityInfoAccessSyntax = __decorate([ | ||
AuthorityInfoAccessSyntax = AuthorityInfoAccessSyntax_1 = __decorate([ | ||
AsnType({ type: AsnTypeTypes.Sequence, itemType: AccessDescription }) | ||
], AuthorityInfoAccessSyntax); | ||
export { AuthorityInfoAccessSyntax }; |
@@ -0,1 +1,2 @@ | ||
var CertificateIssuer_1; | ||
import { __decorate } from "tslib"; | ||
@@ -6,7 +7,11 @@ import { AsnType, AsnTypeTypes } from "@peculiar/asn1-schema"; | ||
export const id_ce_certificateIssuer = `${id_ce}.29`; | ||
let CertificateIssuer = class CertificateIssuer extends GeneralNames { | ||
let CertificateIssuer = CertificateIssuer_1 = class CertificateIssuer extends GeneralNames { | ||
constructor(items) { | ||
super(items); | ||
Object.setPrototypeOf(this, CertificateIssuer_1.prototype); | ||
} | ||
}; | ||
CertificateIssuer = __decorate([ | ||
CertificateIssuer = CertificateIssuer_1 = __decorate([ | ||
AsnType({ type: AsnTypeTypes.Sequence }) | ||
], CertificateIssuer); | ||
export { CertificateIssuer }; |
@@ -0,1 +1,2 @@ | ||
var CertificatePolicies_1; | ||
import { __decorate } from "tslib"; | ||
@@ -95,7 +96,11 @@ import { AsnProp, AsnPropTypes, AsnType, AsnTypeTypes, AsnArray } from "@peculiar/asn1-schema"; | ||
], PolicyInformation.prototype, "policyQualifiers", void 0); | ||
let CertificatePolicies = class CertificatePolicies extends AsnArray { | ||
let CertificatePolicies = CertificatePolicies_1 = class CertificatePolicies extends AsnArray { | ||
constructor(items) { | ||
super(items); | ||
Object.setPrototypeOf(this, CertificatePolicies_1.prototype); | ||
} | ||
}; | ||
CertificatePolicies = __decorate([ | ||
CertificatePolicies = CertificatePolicies_1 = __decorate([ | ||
AsnType({ type: AsnTypeTypes.Sequence, itemType: PolicyInformation }) | ||
], CertificatePolicies); | ||
export { CertificatePolicies }; |
@@ -0,1 +1,2 @@ | ||
var CRLDistributionPoints_1; | ||
import { __decorate } from "tslib"; | ||
@@ -85,7 +86,11 @@ import { AsnProp, AsnType, AsnTypeTypes, AsnArray, BitString } from "@peculiar/asn1-schema"; | ||
], DistributionPoint.prototype, "cRLIssuer", void 0); | ||
let CRLDistributionPoints = class CRLDistributionPoints extends AsnArray { | ||
let CRLDistributionPoints = CRLDistributionPoints_1 = class CRLDistributionPoints extends AsnArray { | ||
constructor(items) { | ||
super(items); | ||
Object.setPrototypeOf(this, CRLDistributionPoints_1.prototype); | ||
} | ||
}; | ||
CRLDistributionPoints = __decorate([ | ||
CRLDistributionPoints = CRLDistributionPoints_1 = __decorate([ | ||
AsnType({ type: AsnTypeTypes.Sequence, itemType: DistributionPoint }) | ||
], CRLDistributionPoints); | ||
export { CRLDistributionPoints }; |
@@ -0,1 +1,2 @@ | ||
var ExtendedKeyUsage_1; | ||
import { __decorate } from "tslib"; | ||
@@ -5,5 +6,9 @@ import { AsnPropTypes, AsnArray, AsnType, AsnTypeTypes } from "@peculiar/asn1-schema"; | ||
export const id_ce_extKeyUsage = `${id_ce}.37`; | ||
let ExtendedKeyUsage = class ExtendedKeyUsage extends AsnArray { | ||
let ExtendedKeyUsage = ExtendedKeyUsage_1 = class ExtendedKeyUsage extends AsnArray { | ||
constructor(items) { | ||
super(items); | ||
Object.setPrototypeOf(this, ExtendedKeyUsage_1.prototype); | ||
} | ||
}; | ||
ExtendedKeyUsage = __decorate([ | ||
ExtendedKeyUsage = ExtendedKeyUsage_1 = __decorate([ | ||
AsnType({ type: AsnTypeTypes.Sequence, itemType: AsnPropTypes.ObjectIdentifier }) | ||
@@ -10,0 +15,0 @@ ], ExtendedKeyUsage); |
@@ -0,1 +1,2 @@ | ||
var IssueAlternativeName_1; | ||
import { __decorate } from "tslib"; | ||
@@ -6,7 +7,11 @@ import { AsnType, AsnTypeTypes } from "@peculiar/asn1-schema"; | ||
export const id_ce_issuerAltName = `${id_ce}.18`; | ||
let IssueAlternativeName = class IssueAlternativeName extends GeneralNames { | ||
let IssueAlternativeName = IssueAlternativeName_1 = class IssueAlternativeName extends GeneralNames { | ||
constructor(items) { | ||
super(items); | ||
Object.setPrototypeOf(this, IssueAlternativeName_1.prototype); | ||
} | ||
}; | ||
IssueAlternativeName = __decorate([ | ||
IssueAlternativeName = IssueAlternativeName_1 = __decorate([ | ||
AsnType({ type: AsnTypeTypes.Sequence }) | ||
], IssueAlternativeName); | ||
export { IssueAlternativeName }; |
@@ -0,1 +1,2 @@ | ||
var GeneralSubtrees_1; | ||
import { __decorate } from "tslib"; | ||
@@ -22,5 +23,9 @@ import { AsnProp, AsnPropTypes, AsnArray, AsnType, AsnTypeTypes } from "@peculiar/asn1-schema"; | ||
], GeneralSubtree.prototype, "maximum", void 0); | ||
let GeneralSubtrees = class GeneralSubtrees extends AsnArray { | ||
let GeneralSubtrees = GeneralSubtrees_1 = class GeneralSubtrees extends AsnArray { | ||
constructor(items) { | ||
super(items); | ||
Object.setPrototypeOf(this, GeneralSubtrees_1.prototype); | ||
} | ||
}; | ||
GeneralSubtrees = __decorate([ | ||
GeneralSubtrees = GeneralSubtrees_1 = __decorate([ | ||
AsnType({ type: AsnTypeTypes.Sequence, itemType: GeneralSubtree }) | ||
@@ -27,0 +32,0 @@ ], GeneralSubtrees); |
@@ -0,1 +1,2 @@ | ||
var SubjectAlternativeName_1; | ||
import { __decorate } from "tslib"; | ||
@@ -6,7 +7,11 @@ import { AsnType, AsnTypeTypes } from "@peculiar/asn1-schema"; | ||
export const id_ce_subjectAltName = `${id_ce}.17`; | ||
let SubjectAlternativeName = class SubjectAlternativeName extends GeneralNames { | ||
let SubjectAlternativeName = SubjectAlternativeName_1 = class SubjectAlternativeName extends GeneralNames { | ||
constructor(items) { | ||
super(items); | ||
Object.setPrototypeOf(this, SubjectAlternativeName_1.prototype); | ||
} | ||
}; | ||
SubjectAlternativeName = __decorate([ | ||
SubjectAlternativeName = SubjectAlternativeName_1 = __decorate([ | ||
AsnType({ type: AsnTypeTypes.Sequence }) | ||
], SubjectAlternativeName); | ||
export { SubjectAlternativeName }; |
@@ -0,1 +1,2 @@ | ||
var SubjectDirectoryAttributes_1; | ||
import { __decorate } from "tslib"; | ||
@@ -6,7 +7,11 @@ import { AsnArray, AsnType, AsnTypeTypes } from "@peculiar/asn1-schema"; | ||
export const id_ce_subjectDirectoryAttributes = `${id_ce}.9`; | ||
let SubjectDirectoryAttributes = class SubjectDirectoryAttributes extends AsnArray { | ||
let SubjectDirectoryAttributes = SubjectDirectoryAttributes_1 = class SubjectDirectoryAttributes extends AsnArray { | ||
constructor(items) { | ||
super(items); | ||
Object.setPrototypeOf(this, SubjectDirectoryAttributes_1.prototype); | ||
} | ||
}; | ||
SubjectDirectoryAttributes = __decorate([ | ||
SubjectDirectoryAttributes = SubjectDirectoryAttributes_1 = __decorate([ | ||
AsnType({ type: AsnTypeTypes.Sequence, itemType: Attribute }) | ||
], SubjectDirectoryAttributes); | ||
export { SubjectDirectoryAttributes }; |
@@ -0,1 +1,2 @@ | ||
var GeneralNames_1; | ||
import { __decorate } from "tslib"; | ||
@@ -5,7 +6,11 @@ import { AsnType, AsnTypeTypes } from "@peculiar/asn1-schema"; | ||
import { AsnArray } from "@peculiar/asn1-schema"; | ||
let GeneralNames = class GeneralNames extends AsnArray { | ||
let GeneralNames = GeneralNames_1 = class GeneralNames extends AsnArray { | ||
constructor(items) { | ||
super(items); | ||
Object.setPrototypeOf(this, GeneralNames_1.prototype); | ||
} | ||
}; | ||
GeneralNames = __decorate([ | ||
GeneralNames = GeneralNames_1 = __decorate([ | ||
AsnType({ type: AsnTypeTypes.Sequence, itemType: GeneralName }) | ||
], GeneralNames); | ||
export { GeneralNames }; |
@@ -0,1 +1,2 @@ | ||
var RelativeDistinguishedName_1, RDNSequence_1; | ||
import { __decorate } from "tslib"; | ||
@@ -64,11 +65,19 @@ import { AsnProp, AsnPropTypes, AsnType, AsnTypeTypes, AsnArray } from "@peculiar/asn1-schema"; | ||
], AttributeTypeAndValue.prototype, "value", void 0); | ||
let RelativeDistinguishedName = class RelativeDistinguishedName extends AsnArray { | ||
let RelativeDistinguishedName = RelativeDistinguishedName_1 = class RelativeDistinguishedName extends AsnArray { | ||
constructor(items) { | ||
super(items); | ||
Object.setPrototypeOf(this, RelativeDistinguishedName_1.prototype); | ||
} | ||
}; | ||
RelativeDistinguishedName = __decorate([ | ||
RelativeDistinguishedName = RelativeDistinguishedName_1 = __decorate([ | ||
AsnType({ type: AsnTypeTypes.Set, itemType: AttributeTypeAndValue }) | ||
], RelativeDistinguishedName); | ||
export { RelativeDistinguishedName }; | ||
let RDNSequence = class RDNSequence extends AsnArray { | ||
let RDNSequence = RDNSequence_1 = class RDNSequence extends AsnArray { | ||
constructor(items) { | ||
super(items); | ||
Object.setPrototypeOf(this, RDNSequence_1.prototype); | ||
} | ||
}; | ||
RDNSequence = __decorate([ | ||
RDNSequence = RDNSequence_1 = __decorate([ | ||
AsnType({ type: AsnTypeTypes.Sequence, itemType: RelativeDistinguishedName }) | ||
@@ -75,0 +84,0 @@ ], RDNSequence); |
@@ -27,2 +27,3 @@ import { AsnArray, OctetString } from "@peculiar/asn1-schema"; | ||
export declare class Extensions extends AsnArray<Extension> { | ||
constructor(items?: Extension[]); | ||
} |
@@ -28,2 +28,3 @@ import { AsnArray } from "@peculiar/asn1-schema"; | ||
export declare class AuthorityInfoAccessSyntax extends AsnArray<AccessDescription> { | ||
constructor(items?: AccessDescription[]); | ||
} |
import { GeneralNames } from "../general_names"; | ||
import { GeneralName } from '../general_name'; | ||
/** | ||
@@ -14,2 +15,3 @@ * ``` | ||
export declare class CertificateIssuer extends GeneralNames { | ||
constructor(items?: GeneralName[]); | ||
} |
@@ -116,2 +116,3 @@ import { AsnArray } from "@peculiar/asn1-schema"; | ||
export declare class CertificatePolicies extends AsnArray<PolicyInformation> { | ||
constructor(items?: PolicyInformation[]); | ||
} |
@@ -72,2 +72,3 @@ import { AsnArray, BitString } from "@peculiar/asn1-schema"; | ||
export declare class CRLDistributionPoints extends AsnArray<DistributionPoint> { | ||
constructor(items?: DistributionPoint[]); | ||
} |
@@ -15,2 +15,3 @@ import { AsnArray } from "@peculiar/asn1-schema"; | ||
export declare class ExtendedKeyUsage extends AsnArray<string> { | ||
constructor(items?: string[]); | ||
} | ||
@@ -17,0 +18,0 @@ /** |
import { GeneralNames } from "../general_names"; | ||
import { GeneralName } from '../general_name'; | ||
/** | ||
@@ -14,2 +15,3 @@ * ``` | ||
export declare class IssueAlternativeName extends GeneralNames { | ||
constructor(items?: GeneralName[]); | ||
} |
@@ -35,2 +35,3 @@ import { AsnArray } from "@peculiar/asn1-schema"; | ||
export declare class GeneralSubtrees extends AsnArray<GeneralSubtree> { | ||
constructor(items?: GeneralSubtree[]); | ||
} | ||
@@ -37,0 +38,0 @@ /** |
import { GeneralNames } from "../general_names"; | ||
import { GeneralName } from '../general_name'; | ||
/** | ||
@@ -14,2 +15,3 @@ * ``` | ||
export declare class SubjectAlternativeName extends GeneralNames { | ||
constructor(items?: GeneralName[]); | ||
} |
@@ -15,2 +15,3 @@ import { AsnArray } from "@peculiar/asn1-schema"; | ||
export declare class SubjectDirectoryAttributes extends AsnArray<Attribute> { | ||
constructor(items?: Attribute[]); | ||
} |
@@ -9,2 +9,3 @@ import { GeneralName } from "./general_name"; | ||
export declare class GeneralNames extends AsnArray<GeneralName> { | ||
constructor(items?: GeneralName[]); | ||
} |
@@ -57,2 +57,3 @@ import { AsnArray } from "@peculiar/asn1-schema"; | ||
export declare class RelativeDistinguishedName extends AsnArray<AttributeTypeAndValue> { | ||
constructor(items?: AttributeTypeAndValue[]); | ||
} | ||
@@ -65,2 +66,3 @@ /** | ||
export declare class RDNSequence extends AsnArray<RelativeDistinguishedName> { | ||
constructor(items?: RelativeDistinguishedName[]); | ||
} | ||
@@ -67,0 +69,0 @@ /** |
{ | ||
"name": "@peculiar/asn1-x509", | ||
"version": "2.0.12", | ||
"version": "2.0.13", | ||
"description": "ASN.1 schema of `Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile` (RFC5280)", | ||
@@ -40,9 +40,9 @@ "files": [ | ||
"dependencies": { | ||
"@peculiar/asn1-schema": "^2.0.12", | ||
"@peculiar/asn1-schema": "^2.0.13", | ||
"asn1js": "^2.0.26", | ||
"ipaddr.js": "^1.9.1", | ||
"pvtsutils": "^1.0.11", | ||
"tslib": "^1.11.1" | ||
"tslib": "^2.0.1" | ||
}, | ||
"gitHead": "e6ed154564b043c1b7461003e584a2c18c2198dc" | ||
"gitHead": "de5c30ee201292833e6677cd78a543f3bdc3ae04" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
130248
3513
- Removedtslib@1.14.1(transitive)
Updatedtslib@^2.0.1