derToP1363
Converts a DER-encoded ECDSA signature to P1363 (r || s), left-padding each component to the field size of algorithm.
Throws
Converts a DER-encoded ECDSA signature to P1363 (r || s), left-padding each component to fieldSizeBytes bytes (32 for P-256/secp256k1, 48 for P-384, 66 for P-521).
Throws
if bytes is not valid DER or r/s exceed fieldSizeBytes.