mirror of https://github.com/jwtk/jjwt.git
Merge branch 'master' into android
This commit is contained in:
commit
0d99197a0c
|
@ -76,7 +76,7 @@ try {
|
|||
* Creating and parsing plaintext compact JWTs
|
||||
|
||||
* Creating, parsing and verifying digitally signed compact JWTs (aka JWSs) with the following algorithms:
|
||||
* HS256: HMAC using SHA-384
|
||||
* HS256: HMAC using SHA-256
|
||||
* HS384: HMAC using SHA-384
|
||||
* HS512: HMAC using SHA-512
|
||||
* RS256: RSASSA-PKCS-v1_5 using SHA-256
|
||||
|
|
|
@ -32,7 +32,7 @@ import java.security.Key;
|
|||
* calling code in known situations, and it is expected that you override the implementation in those known situations;
|
||||
* non-overridden *KeyBytes methods indicates that the JWS input was unexpected.</p>
|
||||
*
|
||||
* <p>If either {@link #resolveSigningKey(JwsHeader, String)} or {@link #resolveSigningKey(JwsHeader, String)}
|
||||
* <p>If either {@link #resolveSigningKey(JwsHeader, String)} or {@link #resolveSigningKey(JwsHeader, Claims)}
|
||||
* are not overridden, one (or both) of the *KeyBytes variants must be overridden depending on your expected
|
||||
* use case. You do not have to override any method that does not represent an expected condition.</p>
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue