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;@91da29b |
Reporter Output
URL: http://localhost:8080/govway/api/out/JOSE/jweJsonAsymmetricJWTHeadersOnlySenderRequest/jweJsonAsymmetricJWTHeadersOnlySenderRequest/service/echo
Atteso [200] ritornato [200], raccolgo id ...
Ricevuto id [80616e5d-c837-11ef-b0ef-060730329b56]
[80616e5d-c837-11ef-b0ef-060730329b56] Atteso [200] ritornato [200]
[80616e5d-c837-11ef-b0ef-060730329b56] JSON: {"protected":"eyJlbmMiOiJBMjU2R0NNIiwia2lkIjoib3BlbnNwY29vcCIsInppcCI6Ik5PTkUiLCJ0eXAiOiJKV1QiLCJjdHkiOiJhcHBsaWNhdGlvbi9qc29uIiwiY3JpdCI6WyJwcm92YTEiLCJwcm92YTIiXSwiaGRyMSI6InZhbHVlMSIsImhkcjIiOiJ2YWx1ZTIiLCJoZHIzIjoidmFsdWUzIn0","unprotected":{"alg":"RSA-OAEP-256"},"recipients":[{"encrypted_key":"FlX0WRpWNqU_73kL0EcgsJDNDLUScgw8wmKRApyQknunZgiPs3BvFVzsqWi6ZdEmj0vcAyNOSO1N1QLBmzEC92ezDbPqEqT_X3lhdyxe8gSyf8lQ9qUiAE3N2EQ9HYZgN3g-DQZT7Ppl3LVEK3Rl8BzNSTb0G_2ydwyXSVm6pUvoBf1chWZPTMbY_r09P4elTd6AcpT6LLEOkiFolPuaABzoucX3S8SF3I9PxX1MnoHFcerUYZmP-pwvIfLGl-2DI00baHLTA7Ev5JdqBjTYaIwlWaiFvGVg3VQwoRvV3uYYPDhcfn442cgIiY015rd0l7hZ570YfRDZhC85Jg-F3w"}],"iv":"UswuYXIldWkKUFAF","ciphertext":"S7wYwF91gkVmbnbvUhXH8cRi6K8KWay1Ds6--n6qx1ju75EUDEAAEvMgqtSLVZ8muouQQWgG4E3lUteMOgD_","tag":"X-JGq6-Wz2U86DrinARL4A"}
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"]