You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Got this error while trying to get the payload of the JWE Token
final jwe =JsonWebEncryption.fromCompactSerialization(jwes);
final jwk =JsonWebKey.fromJson(jwks);
final jwkStore =JsonWebKeyStore()..addKey(jwk);
returnawait jwe.getPayload(jwkStore);
It works with the example in the docs but when I use my own keys with different algorithms it fails.
EX
final jwks = {
"kty":"EC",
"d":"XXXXXXX",
"crv":"P-256",
"x":"XXXXXXXXX",
"y":"XXXXXXXXXX"
};
The text was updated successfully, but these errors were encountered:
Got this error while trying to get the payload of the JWE Token
It works with the example in the docs but when I use my own keys with different algorithms it fails.
EX
The text was updated successfully, but these errors were encountered: