You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Примерно такой тест:
console.log("Export");
var cms;
var buf;
cms = new trusted.cms.SignedData();
buf = cms.export(trusted.DataFormat.PEM);
assert.equal(buf.length !==0, true, "Wrong sign export");
Примерно такой тест:
console.log("Export");
var cms;
var buf;
cms = new trusted.cms.SignedData();
buf = cms.export(trusted.DataFormat.PEM);
assert.equal(buf.length !==0, true, "Wrong sign export");
console.log("Import");
var cms;
cms = new trusted.cms.SignedData();
cms.import(buf, trusted.DataFormat.PEM);
// console.log(cms.certificates().length);
// assert.equal(cms.signers().length, 1, "Wrong signers length");
// assert.equal(cms.certificates().length, 1, "Wrong certificates length");
// assert.equal(cms.isDetached(), false, "Detached");
The text was updated successfully, but these errors were encountered: