Examples
Example keys and passwords are public test material.
JSON signature missing r
Input
{"s":"00b6baa253793334f8b93ea1dd622bc600124d8090babd807efe3f77b8b324388d"}Expected rejection
Message containsNo "r" value in the signature JSON- Input Format
Auto- Message Digest Algorithm
SHA-256- ECDSA Public Key (PEM)
-----BEGIN PUBLIC KEY----- MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEDUc8A0EDNKoCYIPWMHz1yUzqE5mJ gusgcAE8H6810fkJ8ZmTNiCCa6sLgR2vD1VNh2diirWgKPH4PVMKav5e6Q== -----END PUBLIC KEY------ Message
A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.- Message format
Raw
JSON signature missing s
Input
{"r":"00e06905608a2fa7dbda9e284c2a7959dfb68fb527a5f003b2d7975ff135145127"}Expected rejection
Message containsNo "s" value in the signature JSON- Input Format
Auto- Message Digest Algorithm
SHA-256- ECDSA Public Key (PEM)
-----BEGIN PUBLIC KEY----- MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEDUc8A0EDNKoCYIPWMHz1yUzqE5mJ gusgcAE8H6810fkJ8ZmTNiCCa6sLgR2vD1VNh2diirWgKPH4PVMKav5e6Q== -----END PUBLIC KEY------ Message
A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.- Message format
Raw
P-256 with SHA256 (ASN.1 signature)
Input
3046022100e06905608a2fa7dbda9e284c2a7959dfb68fb527a5f003b2d7975ff135145127022100b6baa253793334f8b93ea1dd622bc600124d8090babd807efe3f77b8b324388dExpected answer
Verified OK- Input Format
Auto- Message Digest Algorithm
SHA-256- ECDSA Public Key (PEM)
-----BEGIN PUBLIC KEY----- MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEDUc8A0EDNKoCYIPWMHz1yUzqE5mJ gusgcAE8H6810fkJ8ZmTNiCCa6sLgR2vD1VNh2diirWgKPH4PVMKav5e6Q== -----END PUBLIC KEY------ Message
A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.- Message format
Raw
P-256 with SHA256 (JSON signature)
Input
{"r":"00e06905608a2fa7dbda9e284c2a7959dfb68fb527a5f003b2d7975ff135145127","s":"00b6baa253793334f8b93ea1dd622bc600124d8090babd807efe3f77b8b324388d"}Expected answer
Verified OK- Input Format
Auto- Message Digest Algorithm
SHA-256- ECDSA Public Key (PEM)
-----BEGIN PUBLIC KEY----- MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEDUc8A0EDNKoCYIPWMHz1yUzqE5mJ gusgcAE8H6810fkJ8ZmTNiCCa6sLgR2vD1VNh2diirWgKPH4PVMKav5e6Q== -----END PUBLIC KEY------ Message
A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.- Message format
Raw
P-256 with SHA256 (JWS signature)
Input
4GkFYIovp9vanihMKnlZ37aPtSel8AOy15df8TUUUSe2uqJTeTM0-Lk-od1iK8YAEk2AkLq9gH7-P3e4syQ4jQExpected answer
Verified OK- Input Format
Auto- Message Digest Algorithm
SHA-256- ECDSA Public Key (PEM)
-----BEGIN PUBLIC KEY----- MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEDUc8A0EDNKoCYIPWMHz1yUzqE5mJ gusgcAE8H6810fkJ8ZmTNiCCa6sLgR2vD1VNh2diirWgKPH4PVMKav5e6Q== -----END PUBLIC KEY------ Message
A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.- Message format
Raw
P-256 with SHA256 (P1363 signature)
Input
e06905608a2fa7dbda9e284c2a7959dfb68fb527a5f003b2d7975ff135145127b6baa253793334f8b93ea1dd622bc600124d8090babd807efe3f77b8b324388dExpected answer
Verified OK- Input Format
Auto- Message Digest Algorithm
SHA-256- ECDSA Public Key (PEM)
-----BEGIN PUBLIC KEY----- MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEDUc8A0EDNKoCYIPWMHz1yUzqE5mJ gusgcAE8H6810fkJ8ZmTNiCCa6sLgR2vD1VNh2diirWgKPH4PVMKav5e6Q== -----END PUBLIC KEY------ Message
A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.- Message format
Raw
Using an RSA key fails
Input
3046022100e06905608a2fa7dbda9e284c2a7959dfb68fb527a5f003b2d7975ff135145127022100b6baa253793334f8b93ea1dd622bc600124d8090babd807efe3f77b8b324388dExpected rejection
Message containsProvided key is not an EC key.- Input Format
ASN.1 HEX- Message Digest Algorithm
SHA-256- ECDSA Public Key (PEM)
-----BEGIN PUBLIC KEY----- MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAPKr0Dp6YdItzOfk6a7ma7L4BF4LnelM YKtboGLrk6ihtqFPZFRLNcJi68Hvnt8stMrP50t6jqwWQ2EjMdkj6fsCAwEAAQ== -----END PUBLIC KEY------ Message
A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.- Message format
Raw
Using private key fails
Input
3046022100e06905608a2fa7dbda9e284c2a7959dfb68fb527a5f003b2d7975ff135145127022100b6baa253793334f8b93ea1dd622bc600124d8090babd807efe3f77b8b324388dExpected rejection
Message containsProvided key is not a public key.- Input Format
ASN.1 HEX- Message Digest Algorithm
SHA-256- ECDSA Public Key (PEM)
-----BEGIN EC PRIVATE KEY----- MHcCAQEEINtTjwUkgfAiSwqgcGAXWyE0ueIW6n2k395dmQZ3vGr4oAoGCCqGSM49 AwEHoUQDQgAEDUc8A0EDNKoCYIPWMHz1yUzqE5mJgusgcAE8H6810fkJ8ZmTNiCC a6sLgR2vD1VNh2diirWgKPH4PVMKav5e6Q== -----END EC PRIVATE KEY------ Message
A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.- Message format
Raw
Format reference: ECDSA Verify background and specification
Parameters
| Parameter | Default value | Input and choices |
|---|---|---|
| Input Format | Auto | Auto, ASN.1 HEX, P1363 HEX, JSON Web Signature, Raw JSON |
| Message Digest Algorithm | SHA-256 | SHA-256, SHA-384, SHA-512, SHA-1, MD5 |
| ECDSA Public Key (PEM) | "-----BEGIN PUBLIC KEY-----" | Text |
| Message | "" | Text |
| Message format | Raw | Raw, Hex, Base64 |