Class org.lightningj.paywall.tokengenerator.SymmetricKeyTokenGeneratorSpec

5

tests

0

failures

0

ignored

0.008s

duration

100%

successful

Tests

Test Duration Result
Verify that HS256 algorithm is used in generated JWS tokens 0.003s passed
Verify that invalid key when verifying signature in token generates TokenVerifyException 0.002s passed
Verify that it is not possible to decrypt a token with another symmetric key 0.001s passed
Verify that it is not possible to decrypt altered data 0.001s passed
Verify that modified signature in token generates TokenVerifyException 0.001s passed