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

3

tests

0

failures

0

ignored

0.230s

duration

100%

successful

Tests

Test Duration Result
testJWTCreaterEC 0.201s passed
testJWTRS256ECBad 0.022s passed
testJose4jEllipticCurveJWK_getInstance 0.007s passed

Standard output

generateJWK:com.ibm.ws.security.common.jwk.impl.Jose4jEllipticCurveJWK{kty=EC, kid=wiAxFiASpIJVKI1sc6sx, use=sig, alg=ES256, x=mq7Wrn0Vf87UnSmKjTOIilIia-xdE3P9JupOW1GH_J4, y=Yh-zYhlG1tvsJrm3c6TWPYeBivcE2mUVpKxuy9oC5X0, crv=P-256}
generateJWK:com.ibm.ws.security.common.jwk.impl.Jose4jEllipticCurveJWK{kty=EC, kid=VyoDF5lYgAtrzD3C5oZ5, use=sig, alg=ES256, x=CxlPVH6YANW6ksV9PowT1AXCFlz3cU2olA8TMDoSCtM, y=bDSNC-K4lbgKCa25Yii_ylunD9AdzBfSJd2KDcYInnQ, crv=P-256}
    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@3d838073
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@3d838073
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@3d838073
    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@a5f58509
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@a5f58509
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@a5f58509
    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@58e766a0
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@58e766a0
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@58e766a0
    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. [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]]
[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]]