Class com.ibm.ws.security.common.jwk.impl.JwKRetrieverTest

16

tests

0

failures

0

ignored

0.122s

duration

100%

successful

Tests

Test Duration Result
testCreateJwkBasedOnKty_ktyEC_jsonMissingCrvEntry 0.009s passed
testGetPublicKeyFromJwk_fileURL 0.009s passed
testGetPublicKeyFromJwk_fullLocation 0.009s passed
testGetPublicKeyFromJwk_publicKeyLocationInvalid 0.002s passed
testGetPublicKeyFromJwk_publicKeyTextInvalid 0.002s passed
testGetPublicKeyFromJwk_publicKeyTextPEM 0.003s passed
testGetPublicKeyFromJwk_relativeLocation 0.064s passed
testGetPublicKeyFromJwk_relativeLocationPEM 0.011s passed
testGetPublicKeyFromJwk_useSystemProperties 0.003s passed
testParseKeyText_emptyKeyText 0.001s passed
testParseKeyText_keyTypeEC_signatureAlgorithmNotES 0.001s passed
testParseKeyText_keyTypeEC_signatureAlgorithmNull 0.002s passed
testParseKeyText_keyTypeNotString 0.001s passed
testParseKeyText_keyTypeUnknown 0.001s passed
testParseKeyText_noKtyEntryInText 0.002s passed
testParseKeyText_nullArgs 0.002s passed

Standard output

SharedOutputManager captured the following: 
-- System.out -------------------------------------------------
Entering test: testGetPublicKeyFromJwk_relativeLocation
Exiting test: testGetPublicKeyFromJwk_relativeLocation
Entering test: testGetPublicKeyFromJwk_fullLocation
Exiting test: testGetPublicKeyFromJwk_fullLocation
Entering test: testGetPublicKeyFromJwk_fileURL
Exiting test: testGetPublicKeyFromJwk_fileURL
Entering test: testGetPublicKeyFromJwk_relativeLocationPEM
Exiting test: testGetPublicKeyFromJwk_relativeLocationPEM
Entering test: testGetPublicKeyFromJwk_publicKeyTextPEM
Exiting test: testGetPublicKeyFromJwk_publicKeyTextPEM
Entering test: testGetPublicKeyFromJwk_publicKeyTextInvalid
Exiting test: testGetPublicKeyFromJwk_publicKeyTextInvalid
Entering test: testGetPublicKeyFromJwk_publicKeyLocationInvalid
Exiting test: testGetPublicKeyFromJwk_publicKeyLocationInvalid
Entering test: testGetPublicKeyFromJwk_useSystemProperties
Exiting test: testGetPublicKeyFromJwk_useSystemProperties
Entering test: testParseKeyText_nullArgs
Exiting test: testParseKeyText_nullArgs
Entering test: testParseKeyText_emptyKeyText
Exiting test: testParseKeyText_emptyKeyText
Entering test: testParseKeyText_noKtyEntryInText
Exiting test: testParseKeyText_noKtyEntryInText
Entering test: testParseKeyText_keyTypeNotString
Exiting test: testParseKeyText_keyTypeNotString
Entering test: testParseKeyText_keyTypeUnknown
Exiting test: testParseKeyText_keyTypeUnknown
Entering test: testParseKeyText_keyTypeEC_signatureAlgorithmNull
Exiting test: testParseKeyText_keyTypeEC_signatureAlgorithmNull
Entering test: testParseKeyText_keyTypeEC_signatureAlgorithmNotES
Exiting test: testParseKeyText_keyTypeEC_signatureAlgorithmNotES
Entering test: testCreateJwkBasedOnKty_ktyEC_jsonMissingCrvEntry
Exiting test: testCreateJwkBasedOnKty_ktyEC_jsonMissingCrvEntry

-- System.err -------------------------------------------------
-- Messages -------------------------------------------------
[28/05/2020, 05:10:59:711 BST] 00000015 SystemOut                                                    O Entering test: testGetPublicKeyFromJwk_relativeLocation
[28/05/2020, 05:10:59:774 BST] 00000015 SystemOut                                                    O Exiting test: testGetPublicKeyFromJwk_relativeLocation
[28/05/2020, 05:10:59:776 BST] 00000015 SystemOut                                                    O Entering test: testGetPublicKeyFromJwk_fullLocation
[28/05/2020, 05:10:59:785 BST] 00000015 SystemOut                                                    O Exiting test: testGetPublicKeyFromJwk_fullLocation
[28/05/2020, 05:10:59:786 BST] 00000015 SystemOut                                                    O Entering test: testGetPublicKeyFromJwk_fileURL
[28/05/2020, 05:10:59:794 BST] 00000015 SystemOut                                                    O Exiting test: testGetPublicKeyFromJwk_fileURL
[28/05/2020, 05:10:59:795 BST] 00000015 SystemOut                                                    O Entering test: testGetPublicKeyFromJwk_relativeLocationPEM
[28/05/2020, 05:10:59:805 BST] 00000015 SystemOut                                                    O Exiting test: testGetPublicKeyFromJwk_relativeLocationPEM
[28/05/2020, 05:10:59:806 BST] 00000015 SystemOut                                                    O Entering test: testGetPublicKeyFromJwk_publicKeyTextPEM
[28/05/2020, 05:10:59:808 BST] 00000015 SystemOut                                                    O Exiting test: testGetPublicKeyFromJwk_publicKeyTextPEM
[28/05/2020, 05:10:59:809 BST] 00000015 SystemOut                                                    O Entering test: testGetPublicKeyFromJwk_publicKeyTextInvalid
[28/05/2020, 05:10:59:810 BST] 00000015 SystemOut                                                    O Exiting test: testGetPublicKeyFromJwk_publicKeyTextInvalid
[28/05/2020, 05:10:59:811 BST] 00000015 SystemOut                                                    O Entering test: testGetPublicKeyFromJwk_publicKeyLocationInvalid
[28/05/2020, 05:10:59:812 BST] 00000015 SystemOut                                                    O Exiting test: testGetPublicKeyFromJwk_publicKeyLocationInvalid
[28/05/2020, 05:10:59:813 BST] 00000015 SystemOut                                                    O Entering test: testGetPublicKeyFromJwk_useSystemProperties
[28/05/2020, 05:10:59:815 BST] 00000015 SystemOut                                                    O Exiting test: testGetPublicKeyFromJwk_useSystemProperties
[28/05/2020, 05:10:59:817 BST] 00000015 SystemOut                                                    O Entering test: testParseKeyText_nullArgs
[28/05/2020, 05:10:59:817 BST] 00000015 SystemOut                                                    O Exiting test: testParseKeyText_nullArgs
[28/05/2020, 05:10:59:819 BST] 00000015 SystemOut                                                    O Entering test: testParseKeyText_emptyKeyText
[28/05/2020, 05:10:59:819 BST] 00000015 SystemOut                                                    O Exiting test: testParseKeyText_emptyKeyText
[28/05/2020, 05:10:59:820 BST] 00000015 SystemOut                                                    O Entering test: testParseKeyText_noKtyEntryInText
[28/05/2020, 05:10:59:821 BST] 00000015 SystemOut                                                    O Exiting test: testParseKeyText_noKtyEntryInText
[28/05/2020, 05:10:59:822 BST] 00000015 SystemOut                                                    O Entering test: testParseKeyText_keyTypeNotString
[28/05/2020, 05:10:59:823 BST] 00000015 SystemOut                                                    O Exiting test: testParseKeyText_keyTypeNotString
[28/05/2020, 05:10:59:824 BST] 00000015 SystemOut                                                    O Entering test: testParseKeyText_keyTypeUnknown
[28/05/2020, 05:10:59:824 BST] 00000015 SystemOut                                                    O Exiting test: testParseKeyText_keyTypeUnknown
[28/05/2020, 05:10:59:825 BST] 00000015 SystemOut                                                    O Entering test: testParseKeyText_keyTypeEC_signatureAlgorithmNull
[28/05/2020, 05:10:59:826 BST] 00000015 SystemOut                                                    O Exiting test: testParseKeyText_keyTypeEC_signatureAlgorithmNull
[28/05/2020, 05:10:59:827 BST] 00000015 SystemOut                                                    O Entering test: testParseKeyText_keyTypeEC_signatureAlgorithmNotES
[28/05/2020, 05:10:59:827 BST] 00000015 SystemOut                                                    O Exiting test: testParseKeyText_keyTypeEC_signatureAlgorithmNotES
[28/05/2020, 05:10:59:828 BST] 00000015 SystemOut                                                    O Entering test: testCreateJwkBasedOnKty_ktyEC_jsonMissingCrvEntry
[28/05/2020, 05:10:59:836 BST] 00000015 SystemOut                                                    O Exiting test: testCreateJwkBasedOnKty_ktyEC_jsonMissingCrvEntry

-- Trace -------------------------------------------------
[28/05/2020, 05:10:59:711 BST] 00000015 id=00000000 SystemOut                                                    O Entering test: testGetPublicKeyFromJwk_relativeLocation
[28/05/2020, 05:10:59:730 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.JwKRetriever             3 input stream obtained from classloader and  locationUsed set to: jdk.internal.loader.ClassLoaders$AppClassLoader@e05806f4./com/ibm/ws/security/common/jwk/impl/jwk_test.json
[28/05/2020, 05:10:59:741 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.JwKRetriever             3 kty of JWK is 'RSA'
[28/05/2020, 05:10:59:741 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:kty value:RSA
[28/05/2020, 05:10:59:741 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:x5t#S256 value:h2d0YhmNecvX5YUU8Yl_-qG-1J2Yy0E-UJdAhV9E2Rg=
[28/05/2020, 05:10:59:742 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:e value:AQAB
[28/05/2020, 05:10:59:742 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:use value:sig
[28/05/2020, 05:10:59:742 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:x5t value:U1dkoqHSjCUk2fdBHU-qSCpQXZc=
[28/05/2020, 05:10:59:742 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:kid value:test-key-id
[28/05/2020, 05:10:59:742 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:x5c value:[MIICrjCCAZYCCQDv64J60ppPWzANBgkqhkiG9w0BAQsFADAZMRcwFQYDVQQDDA5qd2tzX3Rlc3RfY2VydDAeFw0xODA2MDcxNTE2NTZaFw0yODA2MDQxNTE2NTZaMBkxFzAVBgNVBAMMDmp3a3NfdGVzdF9jZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArkCYJj7QPIURA+T0arwFkBWK/8PemAW/gppsY5p+uqwASoFNnHLOiUpS6k3NJRcb0QEu2MHjt7IKZ/mya4NgoAMfM+lm0+QmDhY1XFUrmKj0WQhp/Oc6X48kX2zDmu00GXjO3H2446IofTnBeWxIpClpH+aQ0rcCZlLOu/O/CDIHz30qpe4NT4MlkYUeKNltUBctNQP7VMJw4iPHCdsXlIfpVqzONWIdbsFTsk1r3ynrReOeIbP4JA2/sI03LdSS0XxMVYe7zwIb9dHmWlOjMcejNTEh4fRdNnwQYbU3aWhj55gNYpDxUvwazwN52Rm9XoTsv+pi0pj3SK0PeE3s1wIDAQABMA0GCSqGSIb3DQEBCwUAA4IBAQAoRYKPnuuq1/fQ2oXjiq8DKPW0jwhmM2NNbUwmarLdSFNAmYQ9Y8HQ2eLiJOfBClYijoPdWG+bGtf91oibDEYqARQbM9vEwUTSHvutwpMU0RhWWHyhGm8qVDRmeCYZdUPtuayenzlzF9f0oJEPOiUPwfCP+07EXdjaAEa2zX46wDTOdAJkgnmXS/sM12QvB5MQS+l9004BRlnveixbqoIln8/pxtCCfzD0AHoM8ksB8a80vZfaM2O9yBt7gcqXATdl3PsQkhCkp+/YgC6D9wCgqb17Aev/CCIvvpOeqIoJUQrfxdKPnHOUqwDU70Hd/b3ax+thkljTS8wLh5jXoUcb]
[28/05/2020, 05:10:59:742 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:n value:rkCYJj7QPIURA+T0arwFkBWK/8PemAW/gppsY5p+uqwASoFNnHLOiUpS6k3NJRcb0QEu2MHjt7IKZ/mya4NgoAMfM+lm0+QmDhY1XFUrmKj0WQhp/Oc6X48kX2zDmu00GXjO3H2446IofTnBeWxIpClpH+aQ0rcCZlLOu/O/CDIHz30qpe4NT4MlkYUeKNltUBctNQP7VMJw4iPHCdsXlIfpVqzONWIdbsFTsk1r3ynrReOeIbP4JA2/sI03LdSS0XxMVYe7zwIb9dHmWlOjMcejNTEh4fRdNnwQYbU3aWhj55gNYpDxUvwazwN52Rm9XoTsv+pi0pj3SK0PeE3s1w==
[28/05/2020, 05:10:59:774 BST] 00000015 id=00000000 SystemOut                                                    O Exiting test: testGetPublicKeyFromJwk_relativeLocation
[28/05/2020, 05:10:59:776 BST] 00000015 id=00000000 SystemOut                                                    O Entering test: testGetPublicKeyFromJwk_fullLocation
[28/05/2020, 05:10:59:777 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.JwKRetriever             3 input stream obtained from file system and locationUsed set to: /home/libbld/Liberty/jazz-build-engines/wasrtc/wasrtc.ws.liblinrh9.solo/build/open-liberty/dev/com.ibm.ws.security.common.jsonwebkey/build/classes/java/test/com/ibm/ws/security/common/jwk/impl/jwk_test.json
[28/05/2020, 05:10:59:782 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.JwKRetriever             3 kty of JWK is 'RSA'
[28/05/2020, 05:10:59:782 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:kty value:RSA
[28/05/2020, 05:10:59:783 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:x5t#S256 value:h2d0YhmNecvX5YUU8Yl_-qG-1J2Yy0E-UJdAhV9E2Rg=
[28/05/2020, 05:10:59:783 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:e value:AQAB
[28/05/2020, 05:10:59:783 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:use value:sig
[28/05/2020, 05:10:59:783 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:x5t value:U1dkoqHSjCUk2fdBHU-qSCpQXZc=
[28/05/2020, 05:10:59:783 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:kid value:test-key-id
[28/05/2020, 05:10:59:783 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:x5c value:[MIICrjCCAZYCCQDv64J60ppPWzANBgkqhkiG9w0BAQsFADAZMRcwFQYDVQQDDA5qd2tzX3Rlc3RfY2VydDAeFw0xODA2MDcxNTE2NTZaFw0yODA2MDQxNTE2NTZaMBkxFzAVBgNVBAMMDmp3a3NfdGVzdF9jZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArkCYJj7QPIURA+T0arwFkBWK/8PemAW/gppsY5p+uqwASoFNnHLOiUpS6k3NJRcb0QEu2MHjt7IKZ/mya4NgoAMfM+lm0+QmDhY1XFUrmKj0WQhp/Oc6X48kX2zDmu00GXjO3H2446IofTnBeWxIpClpH+aQ0rcCZlLOu/O/CDIHz30qpe4NT4MlkYUeKNltUBctNQP7VMJw4iPHCdsXlIfpVqzONWIdbsFTsk1r3ynrReOeIbP4JA2/sI03LdSS0XxMVYe7zwIb9dHmWlOjMcejNTEh4fRdNnwQYbU3aWhj55gNYpDxUvwazwN52Rm9XoTsv+pi0pj3SK0PeE3s1wIDAQABMA0GCSqGSIb3DQEBCwUAA4IBAQAoRYKPnuuq1/fQ2oXjiq8DKPW0jwhmM2NNbUwmarLdSFNAmYQ9Y8HQ2eLiJOfBClYijoPdWG+bGtf91oibDEYqARQbM9vEwUTSHvutwpMU0RhWWHyhGm8qVDRmeCYZdUPtuayenzlzF9f0oJEPOiUPwfCP+07EXdjaAEa2zX46wDTOdAJkgnmXS/sM12QvB5MQS+l9004BRlnveixbqoIln8/pxtCCfzD0AHoM8ksB8a80vZfaM2O9yBt7gcqXATdl3PsQkhCkp+/YgC6D9wCgqb17Aev/CCIvvpOeqIoJUQrfxdKPnHOUqwDU70Hd/b3ax+thkljTS8wLh5jXoUcb]
[28/05/2020, 05:10:59:783 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:n value:rkCYJj7QPIURA+T0arwFkBWK/8PemAW/gppsY5p+uqwASoFNnHLOiUpS6k3NJRcb0QEu2MHjt7IKZ/mya4NgoAMfM+lm0+QmDhY1XFUrmKj0WQhp/Oc6X48kX2zDmu00GXjO3H2446IofTnBeWxIpClpH+aQ0rcCZlLOu/O/CDIHz30qpe4NT4MlkYUeKNltUBctNQP7VMJw4iPHCdsXlIfpVqzONWIdbsFTsk1r3ynrReOeIbP4JA2/sI03LdSS0XxMVYe7zwIb9dHmWlOjMcejNTEh4fRdNnwQYbU3aWhj55gNYpDxUvwazwN52Rm9XoTsv+pi0pj3SK0PeE3s1w==
[28/05/2020, 05:10:59:785 BST] 00000015 id=00000000 SystemOut                                                    O Exiting test: testGetPublicKeyFromJwk_fullLocation
[28/05/2020, 05:10:59:786 BST] 00000015 id=00000000 SystemOut                                                    O Entering test: testGetPublicKeyFromJwk_fileURL
[28/05/2020, 05:10:59:786 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.JwKRetriever             3 input stream obtained from file system and locationUsed set to: /home/libbld/Liberty/jazz-build-engines/wasrtc/wasrtc.ws.liblinrh9.solo/build/open-liberty/dev/com.ibm.ws.security.common.jsonwebkey/build/classes/java/test/com/ibm/ws/security/common/jwk/impl/jwk_test.json
[28/05/2020, 05:10:59:792 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.JwKRetriever             3 kty of JWK is 'RSA'
[28/05/2020, 05:10:59:792 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:kty value:RSA
[28/05/2020, 05:10:59:792 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:x5t#S256 value:h2d0YhmNecvX5YUU8Yl_-qG-1J2Yy0E-UJdAhV9E2Rg=
[28/05/2020, 05:10:59:792 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:e value:AQAB
[28/05/2020, 05:10:59:792 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:use value:sig
[28/05/2020, 05:10:59:792 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:x5t value:U1dkoqHSjCUk2fdBHU-qSCpQXZc=
[28/05/2020, 05:10:59:792 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:kid value:test-key-id
[28/05/2020, 05:10:59:792 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:x5c value:[MIICrjCCAZYCCQDv64J60ppPWzANBgkqhkiG9w0BAQsFADAZMRcwFQYDVQQDDA5qd2tzX3Rlc3RfY2VydDAeFw0xODA2MDcxNTE2NTZaFw0yODA2MDQxNTE2NTZaMBkxFzAVBgNVBAMMDmp3a3NfdGVzdF9jZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArkCYJj7QPIURA+T0arwFkBWK/8PemAW/gppsY5p+uqwASoFNnHLOiUpS6k3NJRcb0QEu2MHjt7IKZ/mya4NgoAMfM+lm0+QmDhY1XFUrmKj0WQhp/Oc6X48kX2zDmu00GXjO3H2446IofTnBeWxIpClpH+aQ0rcCZlLOu/O/CDIHz30qpe4NT4MlkYUeKNltUBctNQP7VMJw4iPHCdsXlIfpVqzONWIdbsFTsk1r3ynrReOeIbP4JA2/sI03LdSS0XxMVYe7zwIb9dHmWlOjMcejNTEh4fRdNnwQYbU3aWhj55gNYpDxUvwazwN52Rm9XoTsv+pi0pj3SK0PeE3s1wIDAQABMA0GCSqGSIb3DQEBCwUAA4IBAQAoRYKPnuuq1/fQ2oXjiq8DKPW0jwhmM2NNbUwmarLdSFNAmYQ9Y8HQ2eLiJOfBClYijoPdWG+bGtf91oibDEYqARQbM9vEwUTSHvutwpMU0RhWWHyhGm8qVDRmeCYZdUPtuayenzlzF9f0oJEPOiUPwfCP+07EXdjaAEa2zX46wDTOdAJkgnmXS/sM12QvB5MQS+l9004BRlnveixbqoIln8/pxtCCfzD0AHoM8ksB8a80vZfaM2O9yBt7gcqXATdl3PsQkhCkp+/YgC6D9wCgqb17Aev/CCIvvpOeqIoJUQrfxdKPnHOUqwDU70Hd/b3ax+thkljTS8wLh5jXoUcb]
[28/05/2020, 05:10:59:793 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:n value:rkCYJj7QPIURA+T0arwFkBWK/8PemAW/gppsY5p+uqwASoFNnHLOiUpS6k3NJRcb0QEu2MHjt7IKZ/mya4NgoAMfM+lm0+QmDhY1XFUrmKj0WQhp/Oc6X48kX2zDmu00GXjO3H2446IofTnBeWxIpClpH+aQ0rcCZlLOu/O/CDIHz30qpe4NT4MlkYUeKNltUBctNQP7VMJw4iPHCdsXlIfpVqzONWIdbsFTsk1r3ynrReOeIbP4JA2/sI03LdSS0XxMVYe7zwIb9dHmWlOjMcejNTEh4fRdNnwQYbU3aWhj55gNYpDxUvwazwN52Rm9XoTsv+pi0pj3SK0PeE3s1w==
[28/05/2020, 05:10:59:794 BST] 00000015 id=00000000 SystemOut                                                    O Exiting test: testGetPublicKeyFromJwk_fileURL
[28/05/2020, 05:10:59:795 BST] 00000015 id=00000000 SystemOut                                                    O Entering test: testGetPublicKeyFromJwk_relativeLocationPEM
[28/05/2020, 05:10:59:796 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.JwKRetriever             3 input stream obtained from classloader and  locationUsed set to: jdk.internal.loader.ClassLoaders$AppClassLoader@e05806f4./com/ibm/ws/security/common/jwk/impl/rsa_key.pem
[28/05/2020, 05:10:59:805 BST] 00000015 id=00000000 SystemOut                                                    O Exiting test: testGetPublicKeyFromJwk_relativeLocationPEM
[28/05/2020, 05:10:59:806 BST] 00000015 id=00000000 SystemOut                                                    O Entering test: testGetPublicKeyFromJwk_publicKeyTextPEM
[28/05/2020, 05:10:59:808 BST] 00000015 id=00000000 SystemOut                                                    O Exiting test: testGetPublicKeyFromJwk_publicKeyTextPEM
[28/05/2020, 05:10:59:809 BST] 00000015 id=00000000 SystemOut                                                    O Entering test: testGetPublicKeyFromJwk_publicKeyTextInvalid
[28/05/2020, 05:10:59:809 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.JwKRetriever             3 Caught exception parsing JSON string [��@U�bt��M�m]: Unexpected character '�' on line 1, column 1
[28/05/2020, 05:10:59:810 BST] 00000015 id=00000000 SystemOut                                                    O Exiting test: testGetPublicKeyFromJwk_publicKeyTextInvalid
[28/05/2020, 05:10:59:811 BST] 00000015 id=00000000 SystemOut                                                    O Entering test: testGetPublicKeyFromJwk_publicKeyLocationInvalid
[28/05/2020, 05:10:59:812 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.JwKRetriever             3 input stream obtained from classloader and  locationUsed set to: jdk.internal.loader.ClassLoaders$AppClassLoader@e05806f4badKeyLocation
[28/05/2020, 05:10:59:812 BST] 00000015 id=00000000 SystemOut                                                    O Exiting test: testGetPublicKeyFromJwk_publicKeyLocationInvalid
[28/05/2020, 05:10:59:813 BST] 00000015 id=00000000 SystemOut                                                    O Entering test: testGetPublicKeyFromJwk_useSystemProperties
[28/05/2020, 05:10:59:815 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.JwKRetriever             3 Fail to retrieve remote key:  
                                                                                                               null
[28/05/2020, 05:10:59:815 BST] 00000015 id=00000000 SystemOut                                                    O Exiting test: testGetPublicKeyFromJwk_useSystemProperties
[28/05/2020, 05:10:59:817 BST] 00000015 id=00000000 SystemOut                                                    O Entering test: testParseKeyText_nullArgs
[28/05/2020, 05:10:59:817 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.JwKRetriever             3 Caught exception parsing JSON string [null]: null
[28/05/2020, 05:10:59:817 BST] 00000015 id=00000000 SystemOut                                                    O Exiting test: testParseKeyText_nullArgs
[28/05/2020, 05:10:59:819 BST] 00000015 id=00000000 SystemOut                                                    O Entering test: testParseKeyText_emptyKeyText
[28/05/2020, 05:10:59:819 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.JwKRetriever             3 Caught exception parsing JSON string []: Expecting '{' on line 1, column 0 instead, obtained token: 'Token: EOF'
[28/05/2020, 05:10:59:819 BST] 00000015 id=00000000 SystemOut                                                    O Exiting test: testParseKeyText_emptyKeyText
[28/05/2020, 05:10:59:820 BST] 00000015 id=00000000 SystemOut                                                    O Entering test: testParseKeyText_noKtyEntryInText
[28/05/2020, 05:10:59:821 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.JwKRetriever             3 JSON object is missing 'kty' entry
[28/05/2020, 05:10:59:821 BST] 00000015 id=00000000 SystemOut                                                    O Exiting test: testParseKeyText_noKtyEntryInText
[28/05/2020, 05:10:59:822 BST] 00000015 id=00000000 SystemOut                                                    O Entering test: testParseKeyText_keyTypeNotString
[28/05/2020, 05:10:59:823 BST] 00000015 id=00000000 SystemOut                                                    O Exiting test: testParseKeyText_keyTypeNotString
[28/05/2020, 05:10:59:824 BST] 00000015 id=00000000 SystemOut                                                    O Entering test: testParseKeyText_keyTypeUnknown
[28/05/2020, 05:10:59:824 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.JwKRetriever             3 kty of JWK is 'some unknown value'
[28/05/2020, 05:10:59:824 BST] 00000015 id=00000000 SystemOut                                                    O Exiting test: testParseKeyText_keyTypeUnknown
[28/05/2020, 05:10:59:825 BST] 00000015 id=00000000 SystemOut                                                    O Entering test: testParseKeyText_keyTypeEC_signatureAlgorithmNull
[28/05/2020, 05:10:59:826 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.JwKRetriever             3 kty of JWK is 'EC'
[28/05/2020, 05:10:59:826 BST] 00000015 id=00000000 SystemOut                                                    O Exiting test: testParseKeyText_keyTypeEC_signatureAlgorithmNull
[28/05/2020, 05:10:59:827 BST] 00000015 id=00000000 SystemOut                                                    O Entering test: testParseKeyText_keyTypeEC_signatureAlgorithmNotES
[28/05/2020, 05:10:59:827 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.JwKRetriever             3 kty of JWK is 'EC'
[28/05/2020, 05:10:59:827 BST] 00000015 id=00000000 SystemOut                                                    O Exiting test: testParseKeyText_keyTypeEC_signatureAlgorithmNotES
[28/05/2020, 05:10:59:828 BST] 00000015 id=00000000 SystemOut                                                    O Entering test: testCreateJwkBasedOnKty_ktyEC_jsonMissingCrvEntry
[28/05/2020, 05:10:59:829 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.JwKRetriever             3 kty of JWK is 'EC'
[28/05/2020, 05:10:59:830 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jEllipticCurveJWK   3 Entry Key:kty value:EC
[28/05/2020, 05:10:59:831 BST] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jEllipticCurveJWK   3 hit exception 
                                                                                                               org.jose4j.lang.JoseException: Missing required 'crv' parameter.
	at org.jose4j.jwk.JsonWebKey.getString(JsonWebKey.java:227)
	at org.jose4j.jwk.EllipticCurveJsonWebKey.<init>(EllipticCurveJsonWebKey.java:64)
	at org.jose4j.jwk.EllipticCurveJsonWebKey.<init>(EllipticCurveJsonWebKey.java:57)
	at com.ibm.ws.security.common.jwk.impl.Jose4jEllipticCurveJWK.<init>(Jose4jEllipticCurveJWK.java:121)
	at com.ibm.ws.security.common.jwk.impl.Jose4jEllipticCurveJWK.getInstance(Jose4jEllipticCurveJWK.java:99)
	at com.ibm.ws.security.common.jwk.impl.JwKRetriever.getEllipticCurveJwk(JwKRetriever.java:577)
	at com.ibm.ws.security.common.jwk.impl.JwKRetriever.createJwkBasedOnKty(JwKRetriever.java:562)
	at com.ibm.ws.security.common.jwk.impl.JwKRetrieverTest.testCreateJwkBasedOnKty_ktyEC_jsonMissingCrvEntry(JwKRetrieverTest.java:314)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:47)
	at org.junit.rules.RunRules.evaluate(RunRules.java:18)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110)
	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)
	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38)
	at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)
	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
	at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:118)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
	at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182)
	at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164)
	at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:413)
	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
	at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
	at java.base/java.lang.Thread.run(Thread.java:834)

[28/05/2020, 05:10:59:836 BST] 00000015 id=00000000 SystemOut                                                    O Exiting test: testCreateJwkBasedOnKty_ktyEC_jsonMissingCrvEntry