public interface Identifiable
id
relative to other instances of the same type.
The following table indicates how various JWT or JWK getId()
values are used.
JJWT Type | How getId() is Used |
---|---|
Claims |
JWT's jti (JWT ID)
claim. |
Jwk |
JWK's kid (Key ID)
parameter value. |
Curve |
JWK's crv (Curve)
parameter value. |
CompressionAlgorithm |
JWE protected header's
zip (Compression Algorithm)
parameter value. |
HashAlgorithm |
Within a JwkThumbprint 's URI value. |
MacAlgorithm |
JWS protected header's
alg (Algorithm) parameter value. |
SignatureAlgorithm |
JWS protected header's
alg (Algorithm) parameter value. |
KeyAlgorithm |
JWE protected header's
alg (Key Management Algorithm)
parameter value. |
AeadAlgorithm |
JWE protected header's
enc (Encryption Algorithm)
parameter value. |
String getId()
Copyright © 2014–2023 jsonwebtoken.io. All rights reserved.