jsonTestEsaminaJWT
(from org.openspcoop2.protocol.trasparente.testsuite.units.rest.jose.JOSEEncrypt took 2.2 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;@5a058be5 |
Reporter Output
URL: http://localhost:8080/govway/api/out/JOSE/jweJsonAsymmetricJWTHeadersOnlySenderRequest/jweJsonAsymmetricJWTHeadersOnlySenderRequest/service/echo
Atteso [200] ritornato [200], raccolgo id ...
Ricevuto id [f147559b-bfbe-11ef-b61e-060730329b56]
[f147559b-bfbe-11ef-b61e-060730329b56] Atteso [200] ritornato [200]
[f147559b-bfbe-11ef-b61e-060730329b56] JSON: {"protected":"eyJlbmMiOiJBMjU2R0NNIiwia2lkIjoib3BlbnNwY29vcCIsInppcCI6Ik5PTkUiLCJ0eXAiOiJKV1QiLCJjdHkiOiJhcHBsaWNhdGlvbi9qc29uIiwiY3JpdCI6WyJwcm92YTEiLCJwcm92YTIiXSwiaGRyMSI6InZhbHVlMSIsImhkcjIiOiJ2YWx1ZTIiLCJoZHIzIjoidmFsdWUzIn0","unprotected":{"alg":"RSA-OAEP-256"},"recipients":[{"encrypted_key":"WiCQZMNsTmkBBdPuC0CfbTCAQed6S1vAfdhaWEfBrwG3CM_w5daeoJQk5HKvKvYHpQ8bxqzVPpTsCjyGg6iVhweWUKpED_xjL3OLwFjeIFlmj84GVWZXGBc5a5U5giLA7wEZ8fpsQMdMbi34r8F1Ku267eFQq6tVeTRK4j0YaYEWdnQuBLse5wAtjD0vOwmAAJt4zSk9hE6OrCCwnq9J_L8YfDvoaJ3Se82UdIggY6RcNRem50daYstCWilPZ7mjZkBUYJoSldpxBOx8iHh-bKCc_gaHCkAHojneKPcUcHSdDxlNhTkFIGt1dZw2-f1LlFXkxL-Zqwux3iCz4LrPag"}],"iv":"NzOK-9dyQYhaXG1h","ciphertext":"qWvEB8niKgl67j1OAyGNE_oGYxjVpD1eFPktphsTbJpbBX0Twoh4bxqR_1n6qn1SbZJCRf4gosGvy9WBHxHO","tag":"kvmSm6q-3TwhA8KTuN7aMA"}
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"]