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

18

tests

0

failures

0

ignored

0.119s

duration

100%

successful

Tests

Test Duration Result
testCreateJwkBasedOnKty_ktyEC_jsonMissingCrvEntry 0.009s passed
testGetPublicKeyFromJwk_fileURL 0.007s passed
testGetPublicKeyFromJwk_fullLocation 0.006s passed
testGetPublicKeyFromJwk_publicKeyLocationInvalid 0.003s passed
testGetPublicKeyFromJwk_publicKeyTextInvalid 0.001s passed
testGetPublicKeyFromJwk_publicKeyTextPEM_kidSpecified 0.002s passed
testGetPublicKeyFromJwk_publicKeyTextPEM_noKidSpecified 0.002s passed
testGetPublicKeyFromJwk_relativeLocation 0.061s passed
testGetPublicKeyFromJwk_relativeLocationPEM_kidSpecified 0.011s passed
testGetPublicKeyFromJwk_relativeLocationPEM_noKidSpecified 0.004s passed
testGetPublicKeyFromJwk_useSystemProperties 0.003s passed
testParseKeyText_emptyKeyText 0.002s passed
testParseKeyText_keyTypeEC_signatureAlgorithmNotES 0.001s passed
testParseKeyText_keyTypeEC_signatureAlgorithmNull 0.002s passed
testParseKeyText_keyTypeNotString 0.001s passed
testParseKeyText_keyTypeUnknown 0.002s passed
testParseKeyText_noKtyEntryInText 0.001s passed
testParseKeyText_nullArgs 0.001s 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_kidSpecified
Exiting test: testGetPublicKeyFromJwk_relativeLocationPEM_kidSpecified
Entering test: testGetPublicKeyFromJwk_relativeLocationPEM_noKidSpecified
Exiting test: testGetPublicKeyFromJwk_relativeLocationPEM_noKidSpecified
Entering test: testGetPublicKeyFromJwk_publicKeyTextPEM_kidSpecified
Exiting test: testGetPublicKeyFromJwk_publicKeyTextPEM_kidSpecified
Entering test: testGetPublicKeyFromJwk_publicKeyTextPEM_noKidSpecified
Exiting test: testGetPublicKeyFromJwk_publicKeyTextPEM_noKidSpecified
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 -------------------------------------------------
[13/01/2021, 16:17:02:686 GMT] 00000015 SystemOut                                                    O Entering test: testGetPublicKeyFromJwk_relativeLocation
[13/01/2021, 16:17:02:746 GMT] 00000015 SystemOut                                                    O Exiting test: testGetPublicKeyFromJwk_relativeLocation
[13/01/2021, 16:17:02:747 GMT] 00000015 SystemOut                                                    O Entering test: testGetPublicKeyFromJwk_fullLocation
[13/01/2021, 16:17:02:752 GMT] 00000015 SystemOut                                                    O Exiting test: testGetPublicKeyFromJwk_fullLocation
[13/01/2021, 16:17:02:753 GMT] 00000015 SystemOut                                                    O Entering test: testGetPublicKeyFromJwk_fileURL
[13/01/2021, 16:17:02:759 GMT] 00000015 SystemOut                                                    O Exiting test: testGetPublicKeyFromJwk_fileURL
[13/01/2021, 16:17:02:760 GMT] 00000015 SystemOut                                                    O Entering test: testGetPublicKeyFromJwk_relativeLocationPEM_kidSpecified
[13/01/2021, 16:17:02:770 GMT] 00000015 SystemOut                                                    O Exiting test: testGetPublicKeyFromJwk_relativeLocationPEM_kidSpecified
[13/01/2021, 16:17:02:771 GMT] 00000015 SystemOut                                                    O Entering test: testGetPublicKeyFromJwk_relativeLocationPEM_noKidSpecified
[13/01/2021, 16:17:02:775 GMT] 00000015 SystemOut                                                    O Exiting test: testGetPublicKeyFromJwk_relativeLocationPEM_noKidSpecified
[13/01/2021, 16:17:02:776 GMT] 00000015 SystemOut                                                    O Entering test: testGetPublicKeyFromJwk_publicKeyTextPEM_kidSpecified
[13/01/2021, 16:17:02:778 GMT] 00000015 SystemOut                                                    O Exiting test: testGetPublicKeyFromJwk_publicKeyTextPEM_kidSpecified
[13/01/2021, 16:17:02:778 GMT] 00000015 SystemOut                                                    O Entering test: testGetPublicKeyFromJwk_publicKeyTextPEM_noKidSpecified
[13/01/2021, 16:17:02:780 GMT] 00000015 SystemOut                                                    O Exiting test: testGetPublicKeyFromJwk_publicKeyTextPEM_noKidSpecified
[13/01/2021, 16:17:02:780 GMT] 00000015 SystemOut                                                    O Entering test: testGetPublicKeyFromJwk_publicKeyTextInvalid
[13/01/2021, 16:17:02:781 GMT] 00000015 SystemOut                                                    O Exiting test: testGetPublicKeyFromJwk_publicKeyTextInvalid
[13/01/2021, 16:17:02:783 GMT] 00000015 SystemOut                                                    O Entering test: testGetPublicKeyFromJwk_publicKeyLocationInvalid
[13/01/2021, 16:17:02:784 GMT] 00000015 SystemOut                                                    O Exiting test: testGetPublicKeyFromJwk_publicKeyLocationInvalid
[13/01/2021, 16:17:02:785 GMT] 00000015 SystemOut                                                    O Entering test: testGetPublicKeyFromJwk_useSystemProperties
[13/01/2021, 16:17:02:788 GMT] 00000015 SystemOut                                                    O Exiting test: testGetPublicKeyFromJwk_useSystemProperties
[13/01/2021, 16:17:02:789 GMT] 00000015 SystemOut                                                    O Entering test: testParseKeyText_nullArgs
[13/01/2021, 16:17:02:789 GMT] 00000015 SystemOut                                                    O Exiting test: testParseKeyText_nullArgs
[13/01/2021, 16:17:02:790 GMT] 00000015 SystemOut                                                    O Entering test: testParseKeyText_emptyKeyText
[13/01/2021, 16:17:02:791 GMT] 00000015 SystemOut                                                    O Exiting test: testParseKeyText_emptyKeyText
[13/01/2021, 16:17:02:792 GMT] 00000015 SystemOut                                                    O Entering test: testParseKeyText_noKtyEntryInText
[13/01/2021, 16:17:02:793 GMT] 00000015 SystemOut                                                    O Exiting test: testParseKeyText_noKtyEntryInText
[13/01/2021, 16:17:02:794 GMT] 00000015 SystemOut                                                    O Entering test: testParseKeyText_keyTypeNotString
[13/01/2021, 16:17:02:794 GMT] 00000015 SystemOut                                                    O Exiting test: testParseKeyText_keyTypeNotString
[13/01/2021, 16:17:02:795 GMT] 00000015 SystemOut                                                    O Entering test: testParseKeyText_keyTypeUnknown
[13/01/2021, 16:17:02:796 GMT] 00000015 SystemOut                                                    O Exiting test: testParseKeyText_keyTypeUnknown
[13/01/2021, 16:17:02:797 GMT] 00000015 SystemOut                                                    O Entering test: testParseKeyText_keyTypeEC_signatureAlgorithmNull
[13/01/2021, 16:17:02:798 GMT] 00000015 SystemOut                                                    O Exiting test: testParseKeyText_keyTypeEC_signatureAlgorithmNull
[13/01/2021, 16:17:02:799 GMT] 00000015 SystemOut                                                    O Entering test: testParseKeyText_keyTypeEC_signatureAlgorithmNotES
[13/01/2021, 16:17:02:800 GMT] 00000015 SystemOut                                                    O Exiting test: testParseKeyText_keyTypeEC_signatureAlgorithmNotES
[13/01/2021, 16:17:02:800 GMT] 00000015 SystemOut                                                    O Entering test: testCreateJwkBasedOnKty_ktyEC_jsonMissingCrvEntry
[13/01/2021, 16:17:02:809 GMT] 00000015 SystemOut                                                    O Exiting test: testCreateJwkBasedOnKty_ktyEC_jsonMissingCrvEntry

-- Trace -------------------------------------------------
[13/01/2021, 16:17:02:686 GMT] 00000015 id=00000000 SystemOut                                                    O Entering test: testGetPublicKeyFromJwk_relativeLocation
[13/01/2021, 16:17:02:717 GMT] 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@fbc4a6a4./com/ibm/ws/security/common/jwk/impl/jwk_test.json
[13/01/2021, 16:17:02:727 GMT] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.JwKRetriever             3 kty of JWK is 'RSA'
[13/01/2021, 16:17:02:727 GMT] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:kty value:RSA
[13/01/2021, 16:17:02:727 GMT] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:x5t#S256 value:h2d0YhmNecvX5YUU8Yl_-qG-1J2Yy0E-UJdAhV9E2Rg=
[13/01/2021, 16:17:02:727 GMT] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:e value:AQAB
[13/01/2021, 16:17:02:728 GMT] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:use value:sig
[13/01/2021, 16:17:02:728 GMT] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:x5t value:U1dkoqHSjCUk2fdBHU-qSCpQXZc=
[13/01/2021, 16:17:02:728 GMT] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:kid value:test-key-id
[13/01/2021, 16:17:02:728 GMT] 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]
[13/01/2021, 16:17:02:728 GMT] 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==
[13/01/2021, 16:17:02:746 GMT] 00000015 id=00000000 SystemOut                                                    O Exiting test: testGetPublicKeyFromJwk_relativeLocation
[13/01/2021, 16:17:02:747 GMT] 00000015 id=00000000 SystemOut                                                    O Entering test: testGetPublicKeyFromJwk_fullLocation
[13/01/2021, 16:17:02:748 GMT] 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.liblinrh11.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
[13/01/2021, 16:17:02:751 GMT] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.JwKRetriever             3 kty of JWK is 'RSA'
[13/01/2021, 16:17:02:751 GMT] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:kty value:RSA
[13/01/2021, 16:17:02:751 GMT] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:x5t#S256 value:h2d0YhmNecvX5YUU8Yl_-qG-1J2Yy0E-UJdAhV9E2Rg=
[13/01/2021, 16:17:02:751 GMT] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:e value:AQAB
[13/01/2021, 16:17:02:751 GMT] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:use value:sig
[13/01/2021, 16:17:02:751 GMT] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:x5t value:U1dkoqHSjCUk2fdBHU-qSCpQXZc=
[13/01/2021, 16:17:02:751 GMT] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:kid value:test-key-id
[13/01/2021, 16:17:02:751 GMT] 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]
[13/01/2021, 16:17:02:751 GMT] 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==
[13/01/2021, 16:17:02:752 GMT] 00000015 id=00000000 SystemOut                                                    O Exiting test: testGetPublicKeyFromJwk_fullLocation
[13/01/2021, 16:17:02:753 GMT] 00000015 id=00000000 SystemOut                                                    O Entering test: testGetPublicKeyFromJwk_fileURL
[13/01/2021, 16:17:02:754 GMT] 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.liblinrh11.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
[13/01/2021, 16:17:02:757 GMT] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.JwKRetriever             3 kty of JWK is 'RSA'
[13/01/2021, 16:17:02:757 GMT] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:kty value:RSA
[13/01/2021, 16:17:02:757 GMT] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:x5t#S256 value:h2d0YhmNecvX5YUU8Yl_-qG-1J2Yy0E-UJdAhV9E2Rg=
[13/01/2021, 16:17:02:757 GMT] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:e value:AQAB
[13/01/2021, 16:17:02:757 GMT] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:use value:sig
[13/01/2021, 16:17:02:758 GMT] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:x5t value:U1dkoqHSjCUk2fdBHU-qSCpQXZc=
[13/01/2021, 16:17:02:758 GMT] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jRsaJWK             3 Entry key:kid value:test-key-id
[13/01/2021, 16:17:02:758 GMT] 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]
[13/01/2021, 16:17:02:758 GMT] 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==
[13/01/2021, 16:17:02:759 GMT] 00000015 id=00000000 SystemOut                                                    O Exiting test: testGetPublicKeyFromJwk_fileURL
[13/01/2021, 16:17:02:760 GMT] 00000015 id=00000000 SystemOut                                                    O Entering test: testGetPublicKeyFromJwk_relativeLocationPEM_kidSpecified
[13/01/2021, 16:17:02:761 GMT] 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@fbc4a6a4./com/ibm/ws/security/common/jwk/impl/rsa_key.pem
[13/01/2021, 16:17:02:770 GMT] 00000015 id=00000000 SystemOut                                                    O Exiting test: testGetPublicKeyFromJwk_relativeLocationPEM_kidSpecified
[13/01/2021, 16:17:02:771 GMT] 00000015 id=00000000 SystemOut                                                    O Entering test: testGetPublicKeyFromJwk_relativeLocationPEM_noKidSpecified
[13/01/2021, 16:17:02:772 GMT] 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@fbc4a6a4./com/ibm/ws/security/common/jwk/impl/rsa_key.pem
[13/01/2021, 16:17:02:775 GMT] 00000015 id=00000000 SystemOut                                                    O Exiting test: testGetPublicKeyFromJwk_relativeLocationPEM_noKidSpecified
[13/01/2021, 16:17:02:776 GMT] 00000015 id=00000000 SystemOut                                                    O Entering test: testGetPublicKeyFromJwk_publicKeyTextPEM_kidSpecified
[13/01/2021, 16:17:02:778 GMT] 00000015 id=00000000 SystemOut                                                    O Exiting test: testGetPublicKeyFromJwk_publicKeyTextPEM_kidSpecified
[13/01/2021, 16:17:02:778 GMT] 00000015 id=00000000 SystemOut                                                    O Entering test: testGetPublicKeyFromJwk_publicKeyTextPEM_noKidSpecified
[13/01/2021, 16:17:02:780 GMT] 00000015 id=00000000 SystemOut                                                    O Exiting test: testGetPublicKeyFromJwk_publicKeyTextPEM_noKidSpecified
[13/01/2021, 16:17:02:780 GMT] 00000015 id=00000000 SystemOut                                                    O Entering test: testGetPublicKeyFromJwk_publicKeyTextInvalid
[13/01/2021, 16:17:02:781 GMT] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.JwKRetriever             3 Caught exception parsing JSON string [��@U�bt��M�m]: java.io.IOException: Unexpected character '�' on line 1, column 1
[13/01/2021, 16:17:02:781 GMT] 00000015 id=00000000 SystemOut                                                    O Exiting test: testGetPublicKeyFromJwk_publicKeyTextInvalid
[13/01/2021, 16:17:02:783 GMT] 00000015 id=00000000 SystemOut                                                    O Entering test: testGetPublicKeyFromJwk_publicKeyLocationInvalid
[13/01/2021, 16:17:02:784 GMT] 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@fbc4a6a4badKeyLocation
[13/01/2021, 16:17:02:784 GMT] 00000015 id=00000000 SystemOut                                                    O Exiting test: testGetPublicKeyFromJwk_publicKeyLocationInvalid
[13/01/2021, 16:17:02:785 GMT] 00000015 id=00000000 SystemOut                                                    O Entering test: testGetPublicKeyFromJwk_useSystemProperties
[13/01/2021, 16:17:02:787 GMT] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.JwKRetriever             3 Fail to retrieve remote key:  
                                                                                                               null
[13/01/2021, 16:17:02:788 GMT] 00000015 id=00000000 SystemOut                                                    O Exiting test: testGetPublicKeyFromJwk_useSystemProperties
[13/01/2021, 16:17:02:789 GMT] 00000015 id=00000000 SystemOut                                                    O Entering test: testParseKeyText_nullArgs
[13/01/2021, 16:17:02:789 GMT] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.JwKRetriever             3 Caught exception parsing JSON string [null]: java.lang.NullPointerException
[13/01/2021, 16:17:02:789 GMT] 00000015 id=00000000 SystemOut                                                    O Exiting test: testParseKeyText_nullArgs
[13/01/2021, 16:17:02:790 GMT] 00000015 id=00000000 SystemOut                                                    O Entering test: testParseKeyText_emptyKeyText
[13/01/2021, 16:17:02:791 GMT] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.JwKRetriever             3 Caught exception parsing JSON string []: java.io.IOException: Expecting '{' on line 1, column 0 instead, obtained token: 'Token: EOF'
[13/01/2021, 16:17:02:791 GMT] 00000015 id=00000000 SystemOut                                                    O Exiting test: testParseKeyText_emptyKeyText
[13/01/2021, 16:17:02:792 GMT] 00000015 id=00000000 SystemOut                                                    O Entering test: testParseKeyText_noKtyEntryInText
[13/01/2021, 16:17:02:793 GMT] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.JwKRetriever             3 JSON object is missing 'kty' entry
[13/01/2021, 16:17:02:793 GMT] 00000015 id=00000000 SystemOut                                                    O Exiting test: testParseKeyText_noKtyEntryInText
[13/01/2021, 16:17:02:794 GMT] 00000015 id=00000000 SystemOut                                                    O Entering test: testParseKeyText_keyTypeNotString
[13/01/2021, 16:17:02:794 GMT] 00000015 id=00000000 SystemOut                                                    O Exiting test: testParseKeyText_keyTypeNotString
[13/01/2021, 16:17:02:795 GMT] 00000015 id=00000000 SystemOut                                                    O Entering test: testParseKeyText_keyTypeUnknown
[13/01/2021, 16:17:02:796 GMT] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.JwKRetriever             3 kty of JWK is 'some unknown value'
[13/01/2021, 16:17:02:796 GMT] 00000015 id=00000000 SystemOut                                                    O Exiting test: testParseKeyText_keyTypeUnknown
[13/01/2021, 16:17:02:797 GMT] 00000015 id=00000000 SystemOut                                                    O Entering test: testParseKeyText_keyTypeEC_signatureAlgorithmNull
[13/01/2021, 16:17:02:798 GMT] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.JwKRetriever             3 kty of JWK is 'EC'
[13/01/2021, 16:17:02:798 GMT] 00000015 id=00000000 SystemOut                                                    O Exiting test: testParseKeyText_keyTypeEC_signatureAlgorithmNull
[13/01/2021, 16:17:02:799 GMT] 00000015 id=00000000 SystemOut                                                    O Entering test: testParseKeyText_keyTypeEC_signatureAlgorithmNotES
[13/01/2021, 16:17:02:800 GMT] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.JwKRetriever             3 kty of JWK is 'EC'
[13/01/2021, 16:17:02:800 GMT] 00000015 id=00000000 SystemOut                                                    O Exiting test: testParseKeyText_keyTypeEC_signatureAlgorithmNotES
[13/01/2021, 16:17:02:800 GMT] 00000015 id=00000000 SystemOut                                                    O Entering test: testCreateJwkBasedOnKty_ktyEC_jsonMissingCrvEntry
[13/01/2021, 16:17:02:801 GMT] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.JwKRetriever             3 kty of JWK is 'EC'
[13/01/2021, 16:17:02:803 GMT] 00000015 id=00000000 com.ibm.ws.security.common.jwk.impl.Jose4jEllipticCurveJWK   3 Entry Key:kty value:EC
[13/01/2021, 16:17:02:804 GMT] 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:157)
	at com.ibm.ws.security.common.jwk.impl.Jose4jEllipticCurveJWK.getInstance(Jose4jEllipticCurveJWK.java:135)
	at com.ibm.ws.security.common.jwk.impl.JwKRetriever.getEllipticCurveJwk(JwKRetriever.java:746)
	at com.ibm.ws.security.common.jwk.impl.JwKRetriever.createJwkBasedOnKty(JwKRetriever.java:729)
	at com.ibm.ws.security.common.jwk.impl.JwKRetrieverTest.testCreateJwkBasedOnKty_ktyEC_jsonMissingCrvEntry(JwKRetrieverTest.java:337)
	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:119)
	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:414)
	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)

[13/01/2021, 16:17:02:809 GMT] 00000015 id=00000000 SystemOut                                                    O Exiting test: testCreateJwkBasedOnKty_ktyEC_jsonMissingCrvEntry