How to convert a DER-formatted signature back to a Signature object?
fauxbytes opened this issue · comments
fauxbytes commented
Given:
let sig = ecKey.sign(msg);
let sigDerHex = sig.toDER('hex');
Is there a way to rehydrate sigDerHex
back to a Signature
Object?
Many thanks!
Jon M. A. commented
Project looks dead. The Signature constructor is capable of performing the conversion, but this has not been exposed for some reason.