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

3

tests

0

failures

0

ignored

0.244s

duration

100%

successful

Tests

Test Duration Result
testJWTCreaterEC 0.203s passed
testJWTRS256ECBad 0.034s passed
testJose4jEllipticCurveJWK_getInstance 0.007s passed

Standard output

generateJWK:com.ibm.ws.security.common.jwk.impl.Jose4jEllipticCurveJWK{kty=EC, kid=KUlVUl0thIl1G5pjlB65, use=sig, alg=ES256, x=qMNiFdqaOHvnUViuw5E5S2xqhthRkOaHpQ-vx23Apr0, y=mofMd5CdACIn82bw4FHtR5BXtnM-NV89I5lC-ukdC58, crv=P-256}
generateJWK:com.ibm.ws.security.common.jwk.impl.Jose4jEllipticCurveJWK{kty=EC, kid=lhvVSUAAb480BlTvgUDB, use=sig, alg=ES256, x=AxhFF3QlTL12y8kP-liSx1eRvsqM-t-fyxtci_GqVDM, y=WZbrRQooslSK79mn2pu7CmJCdLsAV7-U5f4ivLU-9aQ, crv=P-256}
    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@c0b755f3
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@c0b755f3
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@c0b755f3
    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@e662a7f0
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@e662a7f0
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@e662a7f0
    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@4567b4e9
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@4567b4e9
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@4567b4e9
    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]]