Comparing version 2.1.67 to 2.1.68
@@ -284,4 +284,10 @@ "use strict"; | ||
if ("responseExtensions" in this) { | ||
outputArray.push(new asn1js.Sequence({ | ||
value: Array.from(this.responseExtensions, element => element.toSchema()) | ||
outputArray.push(new asn1js.Constructed({ | ||
idBlock: { | ||
tagClass: 3, // CONTEXT-SPECIFIC | ||
tagNumber: 1 // [1] | ||
}, | ||
value: [new asn1js.Sequence({ | ||
value: Array.from(this.responseExtensions, element => element.toSchema()) | ||
})] | ||
})); | ||
@@ -288,0 +294,0 @@ } |
@@ -262,3 +262,11 @@ "use strict"; | ||
outputArray.push(new asn1js.GeneralizedTime({ valueDate: this.thisUpdate })); | ||
if ("nextUpdate" in this) outputArray.push(new asn1js.GeneralizedTime({ valueDate: this.nextUpdate })); | ||
if ("nextUpdate" in this) { | ||
outputArray.push(new asn1js.Constructed({ | ||
idBlock: { | ||
tagClass: 3, // CONTEXT-SPECIFIC | ||
tagNumber: 0 // [0] | ||
}, | ||
value: [new asn1js.GeneralizedTime({ valueDate: this.nextUpdate })] | ||
})); | ||
} | ||
@@ -265,0 +273,0 @@ if ("singleExtensions" in this) { |
@@ -21,3 +21,4 @@ { | ||
"babel-preset-env": "latest", | ||
"cross-env": "^5.1.4", | ||
"babel-register": "^6.26.0", | ||
"cross-env": "^5.2.0", | ||
"emailjs-mime-builder": "latest", | ||
@@ -28,4 +29,4 @@ "emailjs-mime-parser": "^2.0.1", | ||
"eslint": "^4.19.1", | ||
"mocha": "^3.0.2", | ||
"nyc": "^11.6.0", | ||
"mocha": "^3.5.3", | ||
"nyc": "^11.9.0", | ||
"rollup": "latest", | ||
@@ -106,3 +107,3 @@ "rollup-plugin-commonjs": "^8.2.6", | ||
"name": "pkijs", | ||
"version": "2.1.67", | ||
"version": "2.1.68", | ||
"license": "MIT", | ||
@@ -114,4 +115,3 @@ "esdoc": { | ||
{ | ||
"name": | ||
"esdoc-standard-plugin" | ||
"name": "esdoc-standard-plugin" | ||
} | ||
@@ -118,0 +118,0 @@ ] |
@@ -301,4 +301,10 @@ import * as asn1js from "asn1js"; | ||
{ | ||
outputArray.push(new asn1js.Sequence({ | ||
value: Array.from(this.responseExtensions, element => element.toSchema()) | ||
outputArray.push(new asn1js.Constructed({ | ||
idBlock: { | ||
tagClass: 3, // CONTEXT-SPECIFIC | ||
tagNumber: 1 // [1] | ||
}, | ||
value: [new asn1js.Sequence({ | ||
value: Array.from(this.responseExtensions, element => element.toSchema()) | ||
})] | ||
})); | ||
@@ -305,0 +311,0 @@ } |
@@ -276,3 +276,11 @@ import * as asn1js from "asn1js"; | ||
if("nextUpdate" in this) | ||
outputArray.push(new asn1js.GeneralizedTime({ valueDate: this.nextUpdate })); | ||
{ | ||
outputArray.push(new asn1js.Constructed({ | ||
idBlock: { | ||
tagClass: 3, // CONTEXT-SPECIFIC | ||
tagNumber: 0 // [0] | ||
}, | ||
value: [new asn1js.GeneralizedTime({ valueDate: this.nextUpdate })] | ||
})); | ||
} | ||
@@ -279,0 +287,0 @@ if("singleExtensions" in this) |
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
4112201
62033
16