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

2

tests

0

failures

0

ignored

0.190s

duration

100%

successful

Tests

Test Duration Result
testJWTCreaterEC 0.172s passed
testJWTRS256ECBad 0.018s passed

Standard output

generateJWK:com.ibm.ws.security.common.jwk.impl.Jose4jEllipticCurveJWK{kty=EC, kid=U0m7leK8DUBAaDcf5qLj, use=sig, alg=ES256, x=0RzvqP9uPSTIckiu2Y6gPOkBZsXd0Ao58B_m4mlGx64, y=jOVrzciOUtJxgKzU_PHapFcRwbnDkJ4YLHc-_K66mIc, crv=P-256}
generateJWK:com.ibm.ws.security.common.jwk.impl.Jose4jEllipticCurveJWK{kty=EC, kid=M317wc14ETTfkiQ28wC1, use=sig, alg=ES256, x=1pDrvN-4A57txsSexiKOtltCUHk39ZJGl9Aeea9xt5M, y=l0GeG8BiVKMbn3bCa5BWCMd9g4vExgU2QLuVByDng7A, crv=P-256}
    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@b4163f00
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@b4163f00
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@b4163f00
    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@4f013026
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@4f013026
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@4f013026
    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]]