trusted-crypto icon indicating copy to clipboard operation
trusted-crypto copied to clipboard

A native library implementing of cryptography, ciphers, PKI and the formats that are used in PKI applications.

Results 4 trusted-crypto issues
Sort by recently updated
recently updated
newest added

При импорте сертификата в Trusted eSign 1.2.0, у которого для построения цепочки сертификаты находятся в контейнере (.p7b), возникает ошибка в консоли: Uncaught Error: read Can not read X509 data from...

feature request

Примерно такой тест: 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);...

test

В текущей версии возвращает числовое значение в соответствии с RFC5280 ``` KeyUsage ::= BIT STRING { digitalSignature (0), nonRepudiation (1), -- recent editions of X.509 have -- renamed this bit...

enhancement