We should use a default keytype in most tests (currently RSA, ecdsa maybe makes sense after #155). In addition we should have specific tests for support of various other keytypes. Specification does not really require support for any specific keys but these are mentioned in spec:
| keytype |
scheme |
| rsa |
rsassa-pss-sha256 |
| ecdsa |
ecdsa-sha2-nistp256 |
| ed25519 |
ed25519 |
We should definitely test these.
Additionally potential testable keys might include
| keytype |
scheme |
note |
| ecdsa |
ecdsa-sha2-nistp384 |
|
| ecdsa |
ecdsa-sha2-nistp521 |
|
| ecdsa-sha2-nistp256 |
ecdsa-sha2-nistp256 |
legacy keytype name still supported by some implementations |
| ecdsa-sha2-nistp384 |
ecdsa-sha2-nistp384 |
legacy keytype name still supported by some implementations |
| ecdsa-sha2-nistp521 |
ecdsa-sha2-nistp521 |
legacy keytype name still supported by some implementations |
| rsa |
rsassa-pss-sha224 |
|
| rsa |
rsassa-pss-sha384 |
|
| rsa |
rsassa-pss-sha512 |
|
| rsa |
rsa-pkcs1v15-sha224 |
|
| rsa |
rsa-pkcs1v15-sha256 |
|
| rsa |
rsa-pkcs1v15-sha384 |
|
| rsa |
rsa-pkcs1v15-sha512 |
|
We should use a default keytype in most tests (currently RSA, ecdsa maybe makes sense after #155). In addition we should have specific tests for support of various other keytypes. Specification does not really require support for any specific keys but these are mentioned in spec:
We should definitely test these.
Additionally potential testable keys might include