@peculiar/asn1-cms
Advanced tools
Comparing version 2.0.18 to 2.0.19
@@ -8,2 +8,3 @@ "use strict"; | ||
const asn1_x509_1 = require("@peculiar/asn1-x509"); | ||
const asn1_x509_attr_1 = require("@peculiar/asn1-x509-attr"); | ||
class OtherCertificateFormat { | ||
@@ -24,2 +25,5 @@ constructor(params = {}) { | ||
let CertificateChoices = class CertificateChoices { | ||
constructor(params = {}) { | ||
Object.assign(this, params); | ||
} | ||
}; | ||
@@ -30,2 +34,5 @@ tslib_1.__decorate([ | ||
tslib_1.__decorate([ | ||
asn1_schema_1.AsnProp({ type: asn1_x509_attr_1.AttributeCertificate, context: 2, implicit: true }) | ||
], CertificateChoices.prototype, "v2AttrCert", void 0); | ||
tslib_1.__decorate([ | ||
asn1_schema_1.AsnProp({ type: OtherCertificateFormat, context: 3, implicit: true }) | ||
@@ -32,0 +39,0 @@ ], CertificateChoices.prototype, "other", void 0); |
@@ -5,2 +5,3 @@ var CertificateSet_1; | ||
import { Certificate } from "@peculiar/asn1-x509"; | ||
import { AttributeCertificate } from '@peculiar/asn1-x509-attr'; | ||
export class OtherCertificateFormat { | ||
@@ -20,2 +21,5 @@ constructor(params = {}) { | ||
let CertificateChoices = class CertificateChoices { | ||
constructor(params = {}) { | ||
Object.assign(this, params); | ||
} | ||
}; | ||
@@ -26,2 +30,5 @@ __decorate([ | ||
__decorate([ | ||
AsnProp({ type: AttributeCertificate, context: 2, implicit: true }) | ||
], CertificateChoices.prototype, "v2AttrCert", void 0); | ||
__decorate([ | ||
AsnProp({ type: OtherCertificateFormat, context: 3, implicit: true }) | ||
@@ -28,0 +35,0 @@ ], CertificateChoices.prototype, "other", void 0); |
import { AsnArray } from "@peculiar/asn1-schema"; | ||
import { Certificate } from "@peculiar/asn1-x509"; | ||
import { AttributeCertificate } from '@peculiar/asn1-x509-attr'; | ||
/** | ||
@@ -27,3 +28,5 @@ * ``` | ||
certificate?: Certificate; | ||
v2AttrCert?: AttributeCertificate; | ||
other?: OtherCertificateFormat; | ||
constructor(params?: Partial<CertificateChoices>); | ||
} | ||
@@ -30,0 +33,0 @@ /** |
{ | ||
"name": "@peculiar/asn1-cms", | ||
"version": "2.0.18", | ||
"version": "2.0.19", | ||
"description": "ASN.1 schema of `Cryptographic Message Syntax (CMS)` (RFC5652)", | ||
@@ -39,6 +39,7 @@ "files": [ | ||
"@peculiar/asn1-x509": "^2.0.17", | ||
"@peculiar/asn1-x509-attr": "^2.0.17", | ||
"asn1js": "^2.0.26", | ||
"tslib": "^2.0.1" | ||
}, | ||
"gitHead": "26370fde39296dbc5759ecd53153e47a470b57d0" | ||
"gitHead": "c8c0283235ca53582fa34bcd25faa432a7d483f5" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
1152
686931
5
+ Added@peculiar/asn1-x509-attr@2.3.13(transitive)