Yury Strozhevsky

Results 70 comments of Yury Strozhevsky

So, in fact what you have is an very-very old encryption scheme using `RSAES-PKCS1-v1_5` encryption algorithm (it is not connected with RSA-OAEP and OAEP parameters at all). And I should...

@JaHajRF Derived keys are not for exporting. Moreover, I am pretty sure you got the error not while running any PKI.js code, but in your own code when you were...

@themighty1 - sample was created with focus of showing how to use pki.js - the sample currently parses in a blocking location of the code - to fix that will...

@gnarea As you correctly stated PKI.js based (initially) on top of WebCrypto API which does not support streaming. Theoretically it is possible to build a "stream-friendly" version of custom crypto...

@gnarea You do not need to invent your own API because in case you are using crypto engine's functionality API already exists. In case you are using Node.js only it...

@gnarea You need to inspect all functions from `CryptoEngine` class. The `encrypt/decrypt/sign/verify` is a kind of helpers for more advance API functions like `signWithPrivateKey`, `verifyWithPublicKey` and other functions whose would...

@gnarea The `SignedData` could have `attached data` (signature attached to data). In this case you must use entire `data`, not only digest. So it is not an option to have...

@gnarea PKIjs is an universal library and we need to implement all kind of scenarios. I think that in your case could be better to create your own class extending...

Use [**Choice**](https://github.com/PeculiarVentures/ASN1.js/blob/master/src/asn1.js#L5142).

The ASN1js introduced a difference between constricted and simple form of OCTET STRING, as well as BINARY STRING. In fact since schema comparison function count them as a different types...