Comparing version 2.1.5 to 2.1.6
@@ -73,4 +73,4 @@ { | ||
"name": "pkijs", | ||
"version": "2.1.5", | ||
"version": "2.1.6", | ||
"license": "MIT" | ||
} |
@@ -283,10 +283,10 @@ import * as asn1js from "asn1js"; | ||
getRandomValues(saltView); | ||
const data = this.parsedValue.authenticatedSafe.toSchema().toBER(false); | ||
const view = new Uint8Array(data); | ||
this.authSafe = new ContentInfo({ | ||
contentType: "1.2.840.113549.1.7.1", | ||
content: new asn1js.OctetString({ valueHex: this.parsedValue.authenticatedSafe.toSchema().toBER(false) }) | ||
content: new asn1js.OctetString({ valueHex: data }) | ||
}); | ||
const data = this.authSafe.content.toBER(false); | ||
const view = new Uint8Array(data); | ||
//endregion | ||
@@ -513,3 +513,3 @@ | ||
if(("macData" in this) === false) | ||
return Promise.reject("Absent \"macData\" value, can not check PKCS# data integrity"); | ||
return Promise.reject("Absent \"macData\" value, can not check PKCS#12 data integrity"); | ||
//endregion | ||
@@ -516,0 +516,0 @@ |
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
1044099