jsonTestEsaminaJWT
(from org.openspcoop2.protocol.trasparente.testsuite.units.rest.jose.JOSEEncrypt took 2.1 sec)PASS
Test Name: Ant test
Suite Name: Ant suite
Group(s): JOSEEncrypt.json.esaminaJWT, JOSE, JOSEEncrypt
Value | |
---|---|
Parameter #1 | jweJsonAsymmetricJWTHeadersOnlySenderRequest |
Parameter #2 | [Lorg.openspcoop2.utils.NameValue;@de81be1 |
Reporter Output
URL: http://localhost:8080/govway/api/out/JOSE/jweJsonAsymmetricJWTHeadersOnlySenderRequest/jweJsonAsymmetricJWTHeadersOnlySenderRequest/service/echo
Atteso [200] ritornato [200], raccolgo id ...
Ricevuto id [80c7de8c-d983-11ef-91e5-060730329b56]
[80c7de8c-d983-11ef-91e5-060730329b56] Atteso [200] ritornato [200]
[80c7de8c-d983-11ef-91e5-060730329b56] JSON: {"protected":"eyJlbmMiOiJBMjU2R0NNIiwia2lkIjoib3BlbnNwY29vcCIsInppcCI6Ik5PTkUiLCJ0eXAiOiJKV1QiLCJjdHkiOiJhcHBsaWNhdGlvbi9qc29uIiwiY3JpdCI6WyJwcm92YTEiLCJwcm92YTIiXSwiaGRyMSI6InZhbHVlMSIsImhkcjIiOiJ2YWx1ZTIiLCJoZHIzIjoidmFsdWUzIn0","unprotected":{"alg":"RSA-OAEP-256"},"recipients":[{"encrypted_key":"R5RRyrgrTeJMU42wxa2R-wxdQYjdR5BG5jrbZ-MJpKQ8NQ7Xsh4_JtR2e9lOgNobf-b9eGpEuWhsDq05vnZyyusKz1E2WMEBAYO8Mhu-h5izyYsf5vJdKs10h86rWDzcE2M1dNmncbvQfLlMmmMu2sIyTjktStH4ldDWUS1UOZ1DKKMaAwkif5ZFr9TnURm6yisDJWfR1l3TmpJSgw1vpgCOiPgznX9AdZtTgHKoWV18skEvHnL772CKRmA2WKp2T0SbJ_MbZd57-Ot2ri4sW_sP4EfwqnGPX-SWxtrUymU-DN4Ek4K6eTd1ThLaNGnvt3NvSwcDA-fPU9FcVvtzpA"}],"iv":"mwWy99mJb1wu3kRd","ciphertext":"nK3_kBlmj7XVkB39jDpl17ez7NEg6hVq03Mi2C_fsjzW-ORQzYipJ-a-GXR4lXyhwv3OaODvkyd30g0YazqB","tag":"yD12emFYzBMWVSMX6JjF8A"}
header: {"enc":"A256GCM","kid":"openspcoop","zip":"NONE","typ":"JWT","cty":"application/json","crit":["prova1","prova2"],"hdr1":"value1","hdr2":"value2","hdr3":"value3"}
Trovato hdr ["hdr2"]=["value2"]
Trovato hdr ["hdr1"]=["value1"]
Trovato hdr ["zip"]=["NONE"]
Trovato hdr ["typ"]=["JWT"]
Trovato hdr ["kid"]=["openspcoop"]
Trovato hdr ["enc"]=["A256GCM"]
Trovato hdr ["hdr3"]=["value3"]
Trovato hdr ["cty"]=["application/json"]
Trovato hdr ["crit"]=["prova1"]