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 [f142df4d-c946-11ef-b63f-060730329b56]
[f142df4d-c946-11ef-b63f-060730329b56] Atteso [200] ritornato [200]
[f142df4d-c946-11ef-b63f-060730329b56] JSON: {"protected":"eyJlbmMiOiJBMjU2R0NNIiwia2lkIjoib3BlbnNwY29vcCIsInppcCI6Ik5PTkUiLCJ0eXAiOiJKV1QiLCJjdHkiOiJhcHBsaWNhdGlvbi9qc29uIiwiY3JpdCI6WyJwcm92YTEiLCJwcm92YTIiXSwiaGRyMSI6InZhbHVlMSIsImhkcjIiOiJ2YWx1ZTIiLCJoZHIzIjoidmFsdWUzIn0","unprotected":{"alg":"RSA-OAEP-256"},"recipients":[{"encrypted_key":"N5UGWKPFwEhrABAxDexL2Kphu1Tn9Bx10P-dm-bIo1DwYYYNSwmqg_r7GDKVQ5Nq-u2SiRyBpt6s05VOx7DyOvCdPb64GdvHNmQ3P-L2s90uxcnO4n8SrFHZ3Z7HMmIPeMfC1KJm9_VAGEyKc1yih6eKIx66Ey-jesxJ5lEoVUigrpQM3B2HfcQVU3nCJ9WeEP-WT24Z7l09Z9o_Tc_x0rrKUsRny2ovBiZZAnJaeLBe_AS_9o6aGvXEI8Q66vvtaFXqi9_ONueJCy5ccNWXq0TfbyO32bhWy6tzc_M9RQLij-L2pauGN8ndQ_7WWFfeg1uC6rjatufawIZIbOVoeQ"}],"iv":"31H2rJzAd2fGl2Op","ciphertext":"2EFl_nUF4h4LfpSNjQ1byNaRdcERonmVQsN0pUG1pm-5Xcmui91aMuh5o1u_4jdPvrqF3hznJVDFsTgmTSe1","tag":"dCEXvKhhvsEAeznO9jkkRQ"}
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"]