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;@56c8e6f0 |
Reporter Output
URL: http://localhost:8080/govway/api/out/JOSE/jweJsonAsymmetricJWTHeadersOnlySenderRequest/jweJsonAsymmetricJWTHeadersOnlySenderRequest/service/echo
Atteso [200] ritornato [200], raccolgo id ...
Ricevuto id [e39dadbf-cbc6-11f0-aa08-060730329b56]
[e39dadbf-cbc6-11f0-aa08-060730329b56] Atteso [200] ritornato [200]
[e39dadbf-cbc6-11f0-aa08-060730329b56] JSON: {"protected":"eyJlbmMiOiJBMjU2R0NNIiwia2lkIjoib3BlbnNwY29vcCIsInppcCI6Ik5PTkUiLCJ0eXAiOiJKV1QiLCJjdHkiOiJhcHBsaWNhdGlvbi9qc29uIiwiY3JpdCI6WyJwcm92YTEiLCJwcm92YTIiXSwiaGRyMSI6InZhbHVlMSIsImhkcjIiOiJ2YWx1ZTIiLCJoZHIzIjoidmFsdWUzIn0","unprotected":{"alg":"RSA-OAEP-256"},"recipients":[{"encrypted_key":"pl-lVuPgpWkzjAXYo0gMYGHkFNl0VrCgG46KvqelYHD5Seiu6Nf-LblIfmDm4muV2AdgK4nUgtzbSnKRUDVe22rUAUBpF2iYpEBamDZDdmKXi-wvV78UKhT6Qp6SAk9c-usc9LabUWLNeNr9ml-Eqfz3kRY7NP_p8hWuxGxjpPcuXHFQt5iLR_mYoNXmB3EK2S3VC7H-fYHgKy5G--GRhHiXUAmEOSmbGFXUzVJwOoP-cqDx3i7IKacXbmlsTh7M_4LyN7vbyhXB7m2KRL9vY446kV7wj7xKoT7UZ8pgn3JUdddk-1avaIERoqYRTL52a1_pvkuYxDMQ-C3b0epc9Q"}],"iv":"FkQPzjcpXXwzt0yF","ciphertext":"ITOQQNGQ2F75c6v-Gscun1F3slqrZAtSlzzzPloAlYnJaEir-8TdmxQUHA13RPtbZuqs8HLGIXz6zRFx6Vnq","tag":"RGxYA-A5VtAIE1XErkw9Tw"}
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"]