hexadecimal string of ECDSA ASN.1 signature value
Optional
alg: stringR and S concatinated ECDSA signature value
ECDSA signature value has two types of encoding:
This function converts a ECDSA signature encoding from ASN.1 to concatinated. This function supports ECDSA signatures by P-256, P-384 and P-521.
sigRStoASN1(
"3044
0220
69c3e2489cc23044f91dce1e5efab7a47f8c2a545cdce9b58e408c6a2aabd060
0220
76ba3d70771c00451adcf608d93f20cc79ccaf872f42028aa05ff57b14e5959f")
->
"69c3e2489cc23044f91dce1e5efab7a47f8c2a545cdce9b58e408c6a2aabd060
76ba3d70771c00451adcf608d93f20cc79ccaf872f42028aa05ff57b14e5959f"
// new lines and specs added to understand their structues
convert ECDSA signature value from ASN.1 encoded to RS concatinated