@it-enterprise/digital-signature 1.2.5 → 1.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/DigitalSignature.js +5 -0
- package/src/GlSign.js +1 -1
- package/src/Models.js +1 -1
package/package.json
CHANGED
package/src/DigitalSignature.js
CHANGED
|
@@ -761,6 +761,11 @@ export default class DigitalSignature {
|
|
|
761
761
|
if (Array.isArray(signInfo)) {
|
|
762
762
|
signInfo = signInfo[signInfo.length - 1];
|
|
763
763
|
}
|
|
764
|
+
var cert = this._readedKey.certificates[0];
|
|
765
|
+
if (cert) {
|
|
766
|
+
signInfo.ownerInfo.certBeginTime = cert.infoEx.certBeginTime;
|
|
767
|
+
signInfo.ownerInfo.certEndTime = cert.infoEx.certEndTime;
|
|
768
|
+
}
|
|
764
769
|
result[i] = {
|
|
765
770
|
Success: true,
|
|
766
771
|
Sign: sign.val || sign,
|
package/src/GlSign.js
CHANGED
|
@@ -90,7 +90,7 @@ export default class GlSign {
|
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
this.DirectAccess = this._getSubZoneValue(settingArray, 25) === "+" ? true : this._getSubZoneValue(settingArray,
|
|
93
|
+
this.DirectAccess = this._getSubZoneValue(settingArray, 25) === "+" ? true : this._getSubZoneValue(settingArray, 25) === "-" ? false : null;
|
|
94
94
|
}
|
|
95
95
|
_getZoneValue(zones, zone) {
|
|
96
96
|
if (zones.length >= zone) {
|
package/src/Models.js
CHANGED
|
@@ -466,7 +466,7 @@ export function getDefaultKSPs() {
|
|
|
466
466
|
vchasno.name = "Вчасно - хмарний підпис";
|
|
467
467
|
vchasno.ksp = EndUserConstants.EU_KSP_IIT;
|
|
468
468
|
vchasno.address = "https://cs.vchasno.ua/ss/";
|
|
469
|
-
vchasno.directAccess =
|
|
469
|
+
vchasno.directAccess = false;
|
|
470
470
|
vchasno.needQRCode = false;
|
|
471
471
|
|
|
472
472
|
const cloudKey = new KSPSettings();
|