Class com.ibm.ws.security.jwt.internal.BuilderImplTest

8

tests

0

failures

0

ignored

0.006s

duration

100%

successful

Tests

Test Duration Result
test_encryptWith_goldenPath 0.001s passed
test_encryptWith_nonDefaltKeyManagementAlg 0.001s passed
test_encryptWith_nonDefaultContentEncryptionAlg 0s passed
test_encryptWith_nullContentEncryptionAlg 0.001s passed
test_encryptWith_nullKeyManagementAlg 0.002s passed
test_encryptWith_nullKeyManagementKey 0.001s passed
test_encryptWith_unknownContentEncryptionAlg 0s passed
test_encryptWith_unknownKeyManagementAlg 0s passed

Standard output

[WARNING ] CWWKS6055W: The [test_getSignatureAlgorithm_betaDisabled_betaAlgorithm] configuration specifies the ES256 signature algorithm, but that algorithm is only available in the beta edition. The RS256 signature algorithm is used instead.
[WARNING ] CWWKS6055W: The [test_getSignatureAlgorithm_betaDisabled_betaAlgorithm_callMethodTwice] configuration specifies the ES256 signature algorithm, but that algorithm is only available in the beta edition. The RS256 signature algorithm is used instead.
[WARNING ] MP_CONFIG_PUBLIC_KEY_ALG_NOT_SUPPORTED 
                                                                                                               NO256
                                                                                                               RS256
[WARNING ] MP_CONFIG_PUBLIC_KEY_ALG_NOT_SUPPORTED 
                                                                                                               unknown algorithm
                                                                                                               RS256
SharedOutputManager captured the following: 
-- System.out -------------------------------------------------
Entering test: test_encryptWith_nullKeyManagementAlg
Exiting test: test_encryptWith_nullKeyManagementAlg
Entering test: test_encryptWith_unknownKeyManagementAlg
Exiting test: test_encryptWith_unknownKeyManagementAlg
Entering test: test_encryptWith_nonDefaltKeyManagementAlg
Exiting test: test_encryptWith_nonDefaltKeyManagementAlg
Entering test: test_encryptWith_nullKeyManagementKey
Exiting test: test_encryptWith_nullKeyManagementKey
Entering test: test_encryptWith_nullContentEncryptionAlg
Exiting test: test_encryptWith_nullContentEncryptionAlg
Entering test: test_encryptWith_unknownContentEncryptionAlg
Exiting test: test_encryptWith_unknownContentEncryptionAlg
Entering test: test_encryptWith_nonDefaultContentEncryptionAlg
Exiting test: test_encryptWith_nonDefaultContentEncryptionAlg
Entering test: test_encryptWith_goldenPath
Exiting test: test_encryptWith_goldenPath

-- System.err -------------------------------------------------
-- Messages -------------------------------------------------
[13/01/2021, 16:17:22:782 GMT] 00000015 SystemOut                                                    O Entering test: test_encryptWith_nullKeyManagementAlg
[13/01/2021, 16:17:22:784 GMT] 00000015 SystemOut                                                    O Exiting test: test_encryptWith_nullKeyManagementAlg
[13/01/2021, 16:17:22:784 GMT] 00000015 SystemOut                                                    O Entering test: test_encryptWith_unknownKeyManagementAlg
[13/01/2021, 16:17:22:785 GMT] 00000015 SystemOut                                                    O Exiting test: test_encryptWith_unknownKeyManagementAlg
[13/01/2021, 16:17:22:785 GMT] 00000015 SystemOut                                                    O Entering test: test_encryptWith_nonDefaltKeyManagementAlg
[13/01/2021, 16:17:22:785 GMT] 00000015 SystemOut                                                    O Exiting test: test_encryptWith_nonDefaltKeyManagementAlg
[13/01/2021, 16:17:22:786 GMT] 00000015 SystemOut                                                    O Entering test: test_encryptWith_nullKeyManagementKey
[13/01/2021, 16:17:22:786 GMT] 00000015 SystemOut                                                    O Exiting test: test_encryptWith_nullKeyManagementKey
[13/01/2021, 16:17:22:787 GMT] 00000015 SystemOut                                                    O Entering test: test_encryptWith_nullContentEncryptionAlg
[13/01/2021, 16:17:22:787 GMT] 00000015 SystemOut                                                    O Exiting test: test_encryptWith_nullContentEncryptionAlg
[13/01/2021, 16:17:22:788 GMT] 00000015 SystemOut                                                    O Entering test: test_encryptWith_unknownContentEncryptionAlg
[13/01/2021, 16:17:22:788 GMT] 00000015 SystemOut                                                    O Exiting test: test_encryptWith_unknownContentEncryptionAlg
[13/01/2021, 16:17:22:788 GMT] 00000015 SystemOut                                                    O Entering test: test_encryptWith_nonDefaultContentEncryptionAlg
[13/01/2021, 16:17:22:789 GMT] 00000015 SystemOut                                                    O Exiting test: test_encryptWith_nonDefaultContentEncryptionAlg
[13/01/2021, 16:17:22:789 GMT] 00000015 SystemOut                                                    O Entering test: test_encryptWith_goldenPath
[13/01/2021, 16:17:22:789 GMT] 00000015 SystemOut                                                    O Exiting test: test_encryptWith_goldenPath

-- Trace -------------------------------------------------
[13/01/2021, 16:17:22:782 GMT] 00000015 id=00000000 SystemOut                                                    O Entering test: test_encryptWith_nullKeyManagementAlg
[13/01/2021, 16:17:22:784 GMT] 00000015 id=00000000 com.ibm.ws.security.jwt.internal.BuilderImpl                 3 Null or empty key management algorithm provided; defaulting to RSA-OAEP
[13/01/2021, 16:17:22:784 GMT] 00000015 id=00000000 SystemOut                                                    O Exiting test: test_encryptWith_nullKeyManagementAlg
[13/01/2021, 16:17:22:784 GMT] 00000015 id=00000000 SystemOut                                                    O Entering test: test_encryptWith_unknownKeyManagementAlg
[13/01/2021, 16:17:22:785 GMT] 00000015 id=00000000 SystemOut                                                    O Exiting test: test_encryptWith_unknownKeyManagementAlg
[13/01/2021, 16:17:22:785 GMT] 00000015 id=00000000 SystemOut                                                    O Entering test: test_encryptWith_nonDefaltKeyManagementAlg
[13/01/2021, 16:17:22:785 GMT] 00000015 id=00000000 SystemOut                                                    O Exiting test: test_encryptWith_nonDefaltKeyManagementAlg
[13/01/2021, 16:17:22:786 GMT] 00000015 id=00000000 SystemOut                                                    O Entering test: test_encryptWith_nullKeyManagementKey
[13/01/2021, 16:17:22:786 GMT] 00000015 id=00000000 SystemOut                                                    O Exiting test: test_encryptWith_nullKeyManagementKey
[13/01/2021, 16:17:22:787 GMT] 00000015 id=00000000 SystemOut                                                    O Entering test: test_encryptWith_nullContentEncryptionAlg
[13/01/2021, 16:17:22:787 GMT] 00000015 id=00000000 com.ibm.ws.security.jwt.internal.BuilderImpl                 3 Null or empty content encryption algorithm provided; defaulting to A256GCM
[13/01/2021, 16:17:22:787 GMT] 00000015 id=00000000 SystemOut                                                    O Exiting test: test_encryptWith_nullContentEncryptionAlg
[13/01/2021, 16:17:22:788 GMT] 00000015 id=00000000 SystemOut                                                    O Entering test: test_encryptWith_unknownContentEncryptionAlg
[13/01/2021, 16:17:22:788 GMT] 00000015 id=00000000 SystemOut                                                    O Exiting test: test_encryptWith_unknownContentEncryptionAlg
[13/01/2021, 16:17:22:788 GMT] 00000015 id=00000000 SystemOut                                                    O Entering test: test_encryptWith_nonDefaultContentEncryptionAlg
[13/01/2021, 16:17:22:789 GMT] 00000015 id=00000000 SystemOut                                                    O Exiting test: test_encryptWith_nonDefaultContentEncryptionAlg
[13/01/2021, 16:17:22:789 GMT] 00000015 id=00000000 SystemOut                                                    O Entering test: test_encryptWith_goldenPath
[13/01/2021, 16:17:22:789 GMT] 00000015 id=00000000 SystemOut                                                    O Exiting test: test_encryptWith_goldenPath