@peculiar/asn1-cms
Advanced tools
Comparing version 2.0.36 to 2.0.37
@@ -10,4 +10,2 @@ "use strict"; | ||
constructor(params = {}) { | ||
this.issuerAndSerialNumber = new issuer_and_serial_number_1.IssuerAndSerialNumber(); | ||
this.subjectKeyIdentifier = new asn1_x509_1.SubjectKeyIdentifier(); | ||
Object.assign(this, params); | ||
@@ -17,7 +15,7 @@ } | ||
tslib_1.__decorate([ | ||
asn1_schema_1.AsnProp({ type: asn1_x509_1.SubjectKeyIdentifier, context: 0, implicit: true }) | ||
], SignerIdentifier.prototype, "subjectKeyIdentifier", void 0); | ||
tslib_1.__decorate([ | ||
asn1_schema_1.AsnProp({ type: issuer_and_serial_number_1.IssuerAndSerialNumber }) | ||
], SignerIdentifier.prototype, "issuerAndSerialNumber", void 0); | ||
tslib_1.__decorate([ | ||
asn1_schema_1.AsnProp({ type: asn1_x509_1.SubjectKeyIdentifier, context: 0, implicit: true }) | ||
], SignerIdentifier.prototype, "subjectKeyIdentifier", void 0); | ||
SignerIdentifier = tslib_1.__decorate([ | ||
@@ -24,0 +22,0 @@ asn1_schema_1.AsnType({ type: asn1_schema_1.AsnTypeTypes.Choice }) |
@@ -7,4 +7,2 @@ import { __decorate } from "tslib"; | ||
constructor(params = {}) { | ||
this.issuerAndSerialNumber = new IssuerAndSerialNumber(); | ||
this.subjectKeyIdentifier = new SubjectKeyIdentifier(); | ||
Object.assign(this, params); | ||
@@ -14,7 +12,7 @@ } | ||
__decorate([ | ||
AsnProp({ type: SubjectKeyIdentifier, context: 0, implicit: true }) | ||
], SignerIdentifier.prototype, "subjectKeyIdentifier", void 0); | ||
__decorate([ | ||
AsnProp({ type: IssuerAndSerialNumber }) | ||
], SignerIdentifier.prototype, "issuerAndSerialNumber", void 0); | ||
__decorate([ | ||
AsnProp({ type: SubjectKeyIdentifier, context: 0, implicit: true }) | ||
], SignerIdentifier.prototype, "subjectKeyIdentifier", void 0); | ||
SignerIdentifier = __decorate([ | ||
@@ -21,0 +19,0 @@ AsnType({ type: AsnTypeTypes.Choice }) |
@@ -11,5 +11,5 @@ import { IssuerAndSerialNumber } from "./issuer_and_serial_number"; | ||
export declare class SignerIdentifier { | ||
issuerAndSerialNumber: IssuerAndSerialNumber; | ||
subjectKeyIdentifier: SubjectKeyIdentifier; | ||
subjectKeyIdentifier?: SubjectKeyIdentifier; | ||
issuerAndSerialNumber?: IssuerAndSerialNumber; | ||
constructor(params?: Partial<SignerIdentifier>); | ||
} |
{ | ||
"name": "@peculiar/asn1-cms", | ||
"version": "2.0.36", | ||
"version": "2.0.37", | ||
"description": "ASN.1 schema of `Cryptographic Message Syntax (CMS)` (RFC5652)", | ||
@@ -37,9 +37,9 @@ "files": [ | ||
"dependencies": { | ||
"@peculiar/asn1-schema": "^2.0.36", | ||
"@peculiar/asn1-x509": "^2.0.36", | ||
"@peculiar/asn1-x509-attr": "^2.0.36", | ||
"@peculiar/asn1-schema": "^2.0.37", | ||
"@peculiar/asn1-x509": "^2.0.37", | ||
"@peculiar/asn1-x509-attr": "^2.0.37", | ||
"asn1js": "^2.1.1", | ||
"tslib": "^2.2.0" | ||
"tslib": "^2.3.0" | ||
}, | ||
"gitHead": "f1c83dc03597ba62ea5390d78a3556b4ed925c0d" | ||
"gitHead": "4cf937034f25d995e8f396ed338af43e7e85ffd1" | ||
} |
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
133868
1211
Updated@peculiar/asn1-x509@^2.0.37
Updatedtslib@^2.3.0