Class com.ibm.ws.security.openidconnect.client.jose4j.util.EcJwkTest

2

tests

0

failures

0

ignored

0.203s

duration

100%

successful

Tests

Test Duration Result
testJWTCreaterEC 0.178s passed
testJWTRS256ECBad 0.025s passed

Standard output

generateJWK:com.ibm.ws.security.common.jwk.impl.Jose4jEllipticCurveJWK{kty=EC, kid=XGKWYPX0vdPhV8u8y43g, use=sig, alg=ES256, x=0QFz3Ga2LqUrZTA09wOVuDU2EGz7tXSbBYCROX9zgI0, y=o8gZnOnaF_bDp6dFtJi1rrY7_eebKMMDrQFeqtoQcS0, crv=P-256}
generateJWK:com.ibm.ws.security.common.jwk.impl.Jose4jEllipticCurveJWK{kty=EC, kid=eh2vVW9Eufx3yPbFyTW3, use=sig, alg=ES256, x=4GoYWzfGxWY4_Tdg0hrTctboCKKpNSSRbnsstAk98SQ, y=XZkHuwCUb9jji9-dYa3FqHAnxJikY5Kk_dPloBNneP4, crv=P-256}
    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@668d0cf
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@668d0cf
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@668d0cf
    TrConfigZapper.zapTrConfig : finished invoke init()
    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@34868b0a
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@34868b0a
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@34868b0a
    TrConfigZapper.zapTrConfig : finished invoke init()

Standard error

[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]
[ERROR   ] CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [CWWKS1456E: The OpenID Connect Provider [oidcServerSample] can not create a token. [The given key (algorithm=EC) is not valid for SHA256withRSA]]