Open stevenroose opened 8 years ago
From @izaera on November 26, 2014 7:33
In general, I want to decouple serialization from the library. Under this scheme, cipher will only implement the algorithms and another library will be capable of encoding/serializing algorithm configurations, inputs and outputs.
Unfortunately, I don't think I will have time to implement such library (at least in the near future) :-(.
I also have a simplified encoding method inside RSA so maybe we can take the same approach for ECDSASignature?
From @stevenroose on November 26, 2014 0:23
asn1lib has DER classes for Dart.
I just noticed that I still use my own ECDSASignature class instead of cipher's one, because I need it to have a DER encoding method. And you told me you were thinking about a more generic method for DER encoding than just including a encodeDER() method in the Signature interface.
Copied from original issue: izaera/cipher#89