@it-enterprise/digital-signature 1.3.1 → 1.3.2
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 +1 -1
package/package.json
CHANGED
package/src/DigitalSignature.js
CHANGED
|
@@ -638,7 +638,7 @@ export default class DigitalSignature {
|
|
|
638
638
|
} else if (signType.type === EndUserConstants.EndUserSignContainerType.CAdES) {
|
|
639
639
|
const signLevel = signType.signLevel || EndUserConstants.EndUserSignType.CAdES_X_Long;
|
|
640
640
|
|
|
641
|
-
await
|
|
641
|
+
await this._euSign.SetRuntimeParameter(EndUserConstants.EU_SIGN_TYPE_PARAMETER, signLevel);
|
|
642
642
|
|
|
643
643
|
if (signType.subType === EndUserConstants.EndUserCAdESType.Detached) {
|
|
644
644
|
const hash = await this._euSign.HashData(this._readedKey.getHashAlgo(), data, !asByteArray);
|