jwtk/jjwt
Documented errors, page 2 of 3. Back to jwtk/jjwt
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| ${requiredMsg} | validation | error | jwt, malformed-token, header-validation |
| EC JWK x,y coordinates do not exist on elliptic curve | exception | error | java, jjwt, ec, jwk, invalid-curve-attack, security |
| Unsecured JWSs (those with an alg header value of 'none')… | exception | error | jwt, jws, unsecured, crit-header, malformed-token |
| Unable to access X509Certificate encoded bytes necessary to… | exception | error | x509, certificate, encoding, jsonwebtoken |
| The key's size is bits which is not secure enough for the… | validation | error | java, jjwt, weak-key, hmac, jwa |
| JWE header does not contain a required 'alg' (Algorithm)… | exception | error | jwt, jwe, missing-header |
| The key's algorithm ' ' does not equal a valid HmacSHA*… | validation | error | java, jjwt, mac, algorithm-mismatch, hmac |
| Unable to -encode | exception | error | encoding, stream, io |
| Unable to create JWK | validation | error | jwk, malformed-key, builder, jjwt |
| Unable to derive Edwards-curve PublicKey for specified… | exception | error | edwards-curve, key-derivation, invalid-key |
| unsupportedKey(key, e) | exception | error | jwt, jwk, unsupported-key, security |
| Unrecognized EC key algorithm name. | exception | error | java, jjwt, ec, signature, invalid-key |
| signing keys must be PrivateKey instances. | exception | error | |
| Start index is less than zero | validation | error | |
| ECPublicKey's ECPoint does not exist on elliptic curve | exception | error | java, jjwt, ec, jwk, point-validation |
| Protected Header crit set references header name | exception | error | jwt, jws, crit-header, missing-header, malformed-token |
| The specified RSA signing key is not strong enough to be… | exception | error | |
| JWK kty value must be a String. Type found | validation | error | jwt, jwk, type-mismatch |
| Malformed JSON | validation | error | json, jwt, malformed, deserialization |
| bitLength must be an even multiple of 8 | validation | error | java, jjwt, secret-key, argument-validation |
| Invalid encoded length. Should be , found . | exception | error | ed25519, key-length, base64url, invalid-key |
| JWT expired milliseconds ago at . Current time: . Allowed… | exception | error | jwt, expiration, clock-skew, token-refresh |
| Unable to derive ECPublicKey from ECPrivateKey | exception | error | java, jjwt, ec, jwk, key-derivation |
| Malformed or excessively complex | validation | warning | json, deserialization, security, dos, stack-overflow |
| The ' ' JWE key algorithm did not return a decryption key… | exception | error | jwe, key-algorithm, cek, decryption |
| Unrecognized Edwards Curve key | exception | error | edwards-curve, key-type, invalid-key |
| Compact JWT strings may not contain whitespace. | validation | error | jwt, malformed-token, whitespace |
| getEncoded() is disabled for Password instances as they are… | exception | error | password, security, keys |
| keys may not be used with digital signatures per… | exception | error | eddsa, x25519, signature, rfc8037 |
| noFamily(key, kty) | exception | error | jwt, jwk, kty, unsupported-key |
| Unable to convert String value | validation | error | uri, url-parsing, illegal-argument |
| Unable to create from JWK | validation | error | jwk, invalid-key, key-parsing, jjwt |
| The specified SecretKey is not strong enough to be used… | exception | error | |
| Both 'zip()' and 'compressionCodecResolver' cannot be… | exception | error | jwt, parser-config, compression, conflicting-options |
| The ' ' algorithm requires keys with a length of . The… | validation | error | java, jjwt, weak-key, aes, jwe |
| Encrypted JWTs must have either 'claims' or non-empty… | exception | error | jwt, jwe, empty-payload |
| is not assignable to | exception | error | jwt, type-mismatch, class-hierarchy |
| Unrecognized JWA EC curve id | validation | error | jwk, ec-curve, unsupported-key, jjwt |
| Unable to obtain JSON String from Reader: | exception | error | java, jjwt, io, orgjson, stream |
| Unable to serialize object of type to JSON using known… | exception | error | java, jjwt, serialization, json, unsupported-type |
| Deserialized data resulted in a null value; cannot create… | validation | error | json, deserialization, null |
| Both a 'signingKeyResolver and a 'verifyWith' key cannot be… | exception | error | jwt, configuration, mutually-exclusive-options, parser-builder |
| RSASSA-PSS keys may not be used for | exception | error | java, jjwt, rsa-pss, jwe, invalid-key |
| End index is less than start | validation | error | |
| getId() cannot be null or empty. | validation | error | collection, identifier, validation |
| JWK is missing required kty parameter. | validation | error | jwt, jwk, validation, rfc7517 |
| JWS verification key must be either a SecretKey (for MAC… | exception | error | jwt, key-management, signature-verification, invalid-key |
| Unable to invoke class method | exception | error | reflection, static-method, classpath |
| Byte array must be exactly | validation | error | byte-array, key-length, validation |
| Cannot convert existing claim value of type | exception | error | jwt, claims, type-conversion, deserialization |
| Secret JWK value is ' ', but the length is smaller than the… | exception | error | jwk, secretkey, weak-key, key-size, hmac |
| Unrecognized RSA or RSASSA-PSS key algorithm name. | exception | error | rsa, key-validation, signature, key-type-mismatch |
| ${e.getMessage()} | exception | error | jwk, rsa, malformed-key, parameter-missing |
| JWK Set keys value must be a Collection (JSON Array). Type… | validation | error | jwt, jwks, type-mismatch |
| Unrelated key operations are not allowed. KeyOperation | validation | error | java, jjwt, jwk, key-operations, validation |
| Cannot serialize to JSON. Cause | exception | error | json, serialization, jwt |
| keys must be RSAKey instances. | exception | error | |
| Key argument cannot be null. | exception | error | |
| The specified SigningKeyResolver implementation does not… | exception | error | |
| JWK must be a Map<String,?> (JSON Object). Type found | validation | error | jwk, json, validation, type-mismatch |
| The ' ' algorithm requires with a length of . The provided… | validation | error | java, jjwt, aes-gcm, iv-length, jwe |
| The specified SigningKeyResolver implementation does not… | exception | error | |
| Cannot decrypt JWE payload: unable to locate key for JWE… | exception | error | jwe, key-locator, decryption, missing-key |
| Claim '' value is too large or too small to be represented… | exception | error | jwt, claims, numeric-overflow, type-conversion |
| Unsupported value type. Expected | validation | error | type-mismatch, validation, claims |
| X509Certificate encoded bytes cannot be null or empty. … | exception | error | x509, certificate, empty-bytes, jsonwebtoken |
| Registries are immutable and cannot be modified. | exception | error | immutable, unsupported-operation, registry |
| The RSA key size (aka modulus bit length) is bits which is… | exception | error | java, jjwt, rsa, weak-key, security |
| Missing required encoded bytes for key | exception | error | key, encoded-bytes, invalidkey, empty-bytes, jsonwebtoken |
| Unable to instantiate class | exception | error | reflection, instantiation, constructor |
| Compact JWE strings MUST always contain a payload… | exception | error | jwe, jwt, empty-payload, malformed-token |
| The specified ECKey curve does not match a JWA standard… | exception | error | java, jjwt, ec, jwk, unsupported-curve |
| Unable to Base64Url-decode InputStream | validation | error | base64url, decoding, stream, io |
| Locale part "" contains invalid characters | exception | error | java, locale, format-validation |
| Specified Edwards Curve PublicKey does not match the… | exception | error | jwt, keys, jwk |
| Unable to verify signature with JCA algorithm ' ' using key… | exception | error | signature, verification, jca, jjwt |
| Compact JWE strings must always contain an Initialization… | exception | error | jwe, iv, malformed-jwt, aead |
| PublicKeys may not be used to decrypt data. PublicKeys are… | exception | error | jwe, invalid-key, public-key, asymmetric-crypto |
| Invalid Base64Url | exception | error | jwt, base64url, malformed-token, parsing |
| RSA JWK 'oth' (Other Prime Info) element map cannot be… | exception | error | jwk, rsa, malformed-key, empty-value |
| Invalid AES key length | validation | error | aes, key-length, crypto, jjwt |
| Either a Key instance or a kty value is required to create… | exception | error | java, jjwt, jwk, missing-argument |
| Unable to derive RSAPublicKey from RSAPrivateKey | exception | error | rsa, jwk, key-derivation, invalid-key |
| Unable to read compact JWT | validation | error | jwt, io, malformed-token |
| Cannot verify JWS signature: unable to locate signature… | exception | error | jwt, signature, key-resolution |
| Invalid compact JWT string: Compact JWSs must contain… | validation | error | jwt, malformed-token, structure |
| JWT signature does not match locally computed signature… | exception | error | jwt, signature-mismatch, security |
| The JWS header references signature algorithm 'none' yet… | exception | error | jwt, jws, alg-none, signature-mismatch, malformed-token |
| Missing required keys parameter. | validation | error | jwt, jwks, validation, rfc7517 |
| Not supported | exception | error | unsupported-operation, iterator, enumeration |
| Unrecognized | validation | error | registry, lookup-failed, jwt |
| Byte array must be at least | validation | error | byte-array, key-length, validation |
| Compact JWE strings must always contain an AAD… | exception | error | jwe, authentication-tag, malformed-jwt, aead |
| The key's algorithm cannot be null or empty. | validation | error | java, jjwt, mac, invalid-key, hmac |
| Unable to read field | exception | error | reflection, field-access, encapsulation |
| IO Exception | exception | error | io, stream, inputstream |
| Number of characters to skip is less than zero | validation | error | |
| Unsupported JwkContext. | validation | error | jwk, illegal-argument, factory, jjwt |
| Malformed JWK Set JSON | exception | error | jwk, json, deserialization, malformed-json, jsonwebtoken |
| Negative skip length | exception | error |