- changed status to open
Possible mistake in example regarding EdDSA/Ed25519 signature
Issue #276
resolved
Hi!
In the example of the page "https://connect2id.com/products/nimbus-jose-jwt/examples/jwt-with-eddsa", I believe there is a mistake in the following part:
SignedJWT signedJWT = new SignedJWT(
new JWSHeader.Builder(JWSAlgorithm.Ed25519).keyID(jwk.getKeyID()).build(),
claimsSet);
The constant Ed25519 does not exist in the JWSAlgorithm class, I believe the correct one would be the EdDSA.
Comments (2)
-
-
- changed status to resolved
Fixed :)
- Log in to comment
Thanks!