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

3

tests

0

failures

0

ignored

0.242s

duration

100%

successful

Tests

Test Duration Result
testJWTCreaterEC 0.201s passed
testJWTRS256ECBad 0.031s passed
testJose4jEllipticCurveJWK_getInstance 0.010s passed

Standard output

generateJWK:com.ibm.ws.security.common.jwk.impl.Jose4jEllipticCurveJWK{kty=EC, kid=6qZlutj7vEAGbBN5ECX0, use=sig, alg=ES256, x=6rlqE-DHqUNyXCflLj5cuFZTHswHjNwZZnLSxSGygA0, y=V-5NrJjuefprnNSERE2SqAeXTWmh1a6Esj_RLc4YxV4, crv=P-256}
generateJWK:com.ibm.ws.security.common.jwk.impl.Jose4jEllipticCurveJWK{kty=EC, kid=ZBUy2QGfpLFTCEkrxylD, use=sig, alg=ES256, x=I5Um-tlIEN17D7OS5IQYQhWZuCRZ90vFbdsyP8Za0gU, y=BPSXuJQVhU1wCrPGcqqAQNlw38qiYO3AVJDUUAoFpBE, crv=P-256}
    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@3fcb5f79
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@3fcb5f79
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@3fcb5f79
    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@f3454a3d
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@f3454a3d
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@f3454a3d
    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@75b952fd
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@75b952fd
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@75b952fd
    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]]