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

8

tests

0

failures

0

ignored

0.021s

duration

100%

successful

Tests

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

Standard output

    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@b8a4b884
[WARNING ] MP_CONFIG_PUBLIC_KEY_ALG_NOT_SUPPORTED 
                                                                                                               NO256
                                                                                                               RS256
                                                                                                               [RS256, RS384, RS512, HS256, HS384, HS512, ES256, ES384, ES512]
[WARNING ] MP_CONFIG_PUBLIC_KEY_ALG_NOT_SUPPORTED 
                                                                                                               unknown algorithm
                                                                                                               RS256
                                                                                                               [RS256, RS384, RS512, HS256, HS384, HS512, ES256, ES384, ES512]
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@b8a4b884
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@b8a4b884
    TrConfigZapper.zapTrConfig : finished invoke init()
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 -------------------------------------------------
[8/22/25, 4:17:54:157 UTC] 00000001 SystemOut                                                    O Entering test: test_encryptWith_nullKeyManagementAlg
[8/22/25, 4:17:54:168 UTC] 00000001 SystemOut                                                    O Exiting test: test_encryptWith_nullKeyManagementAlg
[8/22/25, 4:17:54:169 UTC] 00000001 SystemOut                                                    O Entering test: test_encryptWith_unknownKeyManagementAlg
[8/22/25, 4:17:54:169 UTC] 00000001 SystemOut                                                    O Exiting test: test_encryptWith_unknownKeyManagementAlg
[8/22/25, 4:17:54:169 UTC] 00000001 SystemOut                                                    O Entering test: test_encryptWith_nonDefaltKeyManagementAlg
[8/22/25, 4:17:54:170 UTC] 00000001 SystemOut                                                    O Exiting test: test_encryptWith_nonDefaltKeyManagementAlg
[8/22/25, 4:17:54:170 UTC] 00000001 SystemOut                                                    O Entering test: test_encryptWith_nullKeyManagementKey
[8/22/25, 4:17:54:172 UTC] 00000001 SystemOut                                                    O Exiting test: test_encryptWith_nullKeyManagementKey
[8/22/25, 4:17:54:172 UTC] 00000001 SystemOut                                                    O Entering test: test_encryptWith_nullContentEncryptionAlg
[8/22/25, 4:17:54:176 UTC] 00000001 SystemOut                                                    O Exiting test: test_encryptWith_nullContentEncryptionAlg
[8/22/25, 4:17:54:176 UTC] 00000001 SystemOut                                                    O Entering test: test_encryptWith_unknownContentEncryptionAlg
[8/22/25, 4:17:54:177 UTC] 00000001 SystemOut                                                    O Exiting test: test_encryptWith_unknownContentEncryptionAlg
[8/22/25, 4:17:54:177 UTC] 00000001 SystemOut                                                    O Entering test: test_encryptWith_nonDefaultContentEncryptionAlg
[8/22/25, 4:17:54:178 UTC] 00000001 SystemOut                                                    O Exiting test: test_encryptWith_nonDefaultContentEncryptionAlg
[8/22/25, 4:17:54:178 UTC] 00000001 SystemOut                                                    O Entering test: test_encryptWith_goldenPath
[8/22/25, 4:17:54:178 UTC] 00000001 SystemOut                                                    O Exiting test: test_encryptWith_goldenPath

-- Trace -------------------------------------------------
[8/22/25, 4:17:54:157 UTC] 00000001 id=00000000 SystemOut                                                    O Entering test: test_encryptWith_nullKeyManagementAlg
[8/22/25, 4:17:54:168 UTC] 00000001 id=00000000 com.ibm.ws.security.jwt.internal.BuilderImpl                 3 Null or empty key management algorithm provided; defaulting to RSA-OAEP
[8/22/25, 4:17:54:168 UTC] 00000001 id=00000000 SystemOut                                                    O Exiting test: test_encryptWith_nullKeyManagementAlg
[8/22/25, 4:17:54:169 UTC] 00000001 id=00000000 SystemOut                                                    O Entering test: test_encryptWith_unknownKeyManagementAlg
[8/22/25, 4:17:54:169 UTC] 00000001 id=00000000 com.ibm.ws.security.jwt.internal.BuilderImpl                 3 The key management algorithm being used is does not exist
[8/22/25, 4:17:54:169 UTC] 00000001 id=00000000 SystemOut                                                    O Exiting test: test_encryptWith_unknownKeyManagementAlg
[8/22/25, 4:17:54:169 UTC] 00000001 id=00000000 SystemOut                                                    O Entering test: test_encryptWith_nonDefaltKeyManagementAlg
[8/22/25, 4:17:54:169 UTC] 00000001 id=00000000 com.ibm.ws.security.jwt.internal.BuilderImpl                 3 The key management algorithm being used is ECDH-ES+A128KW
[8/22/25, 4:17:54:170 UTC] 00000001 id=00000000 SystemOut                                                    O Exiting test: test_encryptWith_nonDefaltKeyManagementAlg
[8/22/25, 4:17:54:170 UTC] 00000001 id=00000000 SystemOut                                                    O Entering test: test_encryptWith_nullKeyManagementKey
[8/22/25, 4:17:54:172 UTC] 00000001 id=00000000 SystemOut                                                    O Exiting test: test_encryptWith_nullKeyManagementKey
[8/22/25, 4:17:54:172 UTC] 00000001 id=00000000 SystemOut                                                    O Entering test: test_encryptWith_nullContentEncryptionAlg
[8/22/25, 4:17:54:173 UTC] 00000001 id=00000000 com.ibm.ws.security.jwt.internal.BuilderImpl                 3 The key management algorithm being used is RSA-OAEP
[8/22/25, 4:17:54:176 UTC] 00000001 id=00000000 com.ibm.ws.security.jwt.internal.BuilderImpl                 3 Null or empty content encryption algorithm provided; defaulting to A256GCM
[8/22/25, 4:17:54:176 UTC] 00000001 id=00000000 SystemOut                                                    O Exiting test: test_encryptWith_nullContentEncryptionAlg
[8/22/25, 4:17:54:176 UTC] 00000001 id=00000000 SystemOut                                                    O Entering test: test_encryptWith_unknownContentEncryptionAlg
[8/22/25, 4:17:54:177 UTC] 00000001 id=00000000 com.ibm.ws.security.jwt.internal.BuilderImpl                 3 The key management algorithm being used is RSA-OAEP
[8/22/25, 4:17:54:177 UTC] 00000001 id=00000000 SystemOut                                                    O Exiting test: test_encryptWith_unknownContentEncryptionAlg
[8/22/25, 4:17:54:177 UTC] 00000001 id=00000000 SystemOut                                                    O Entering test: test_encryptWith_nonDefaultContentEncryptionAlg
[8/22/25, 4:17:54:177 UTC] 00000001 id=00000000 com.ibm.ws.security.jwt.internal.BuilderImpl                 3 The key management algorithm being used is RSA-OAEP
[8/22/25, 4:17:54:178 UTC] 00000001 id=00000000 SystemOut                                                    O Exiting test: test_encryptWith_nonDefaultContentEncryptionAlg
[8/22/25, 4:17:54:178 UTC] 00000001 id=00000000 SystemOut                                                    O Entering test: test_encryptWith_goldenPath
[8/22/25, 4:17:54:178 UTC] 00000001 id=00000000 com.ibm.ws.security.jwt.internal.BuilderImpl                 3 The key management algorithm being used is RSA-OAEP
[8/22/25, 4:17:54:178 UTC] 00000001 id=00000000 SystemOut                                                    O Exiting test: test_encryptWith_goldenPath