ECDSA rename signature format "Concat HEX" to "P1363 HEX"

this format name is more specific and easier to search for on the internet
This commit is contained in:
CPlusSharp 2024-04-14 11:34:59 +02:00
parent 8f182e4a9b
commit 7b54d9e873
4 changed files with 27 additions and 27 deletions

View file

@ -32,7 +32,7 @@ class ECDSAVerify extends Operation {
value: [
"Auto",
"ASN.1 HEX",
"Concat HEX",
"P1363 HEX",
"JSON"
]
},
@ -80,7 +80,7 @@ class ECDSAVerify extends Operation {
} else if (input.indexOf("{") !== -1) {
inputFormat = "JSON";
} else {
inputFormat = "Concat HEX";
inputFormat = "P1363 HEX";
}
}
@ -90,7 +90,7 @@ class ECDSAVerify extends Operation {
case "ASN.1 HEX":
signatureASN1Hex = input;
break;
case "Concat HEX":
case "P1363 HEX":
signatureASN1Hex = r.KJUR.crypto.ECDSA.concatSigToASN1Sig(input);
break;
case "JSON": {