Class org.lightningj.paywall.tokengenerator.KeyIdByFileRecipientRepositorySpec

5

tests

0

failures

0

ignored

0.014s

duration

100%

successful

Tests

Test Duration Result
Verify that findRecipientKey returns EllipticCurveJsonWebKey for an EC public key 0.004s passed
Verify that findRecipientKey returns valid RSA public key for subject that matches existing key id 0.004s passed
Verify that findRecipientKey throws TokenException for unknown subject 0.002s passed
Verify that findRecipientKey throws TokenException if underlying public key is of unsupported type 0.004s passed
Verify that null subject throws TokenException 0s passed