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;@7944b8b4 |
Reporter Output
URL: http://localhost:8080/govway/api/out/JOSE/jweJsonAsymmetricJWTHeadersOnlySenderRequest/jweJsonAsymmetricJWTHeadersOnlySenderRequest/service/echo
Atteso [200] ritornato [200], raccolgo id ...
Ricevuto id [5e5096d8-a39c-11ef-8943-060730329b56]
[5e5096d8-a39c-11ef-8943-060730329b56] Atteso [200] ritornato [200]
[5e5096d8-a39c-11ef-8943-060730329b56] JSON: {"protected":"eyJlbmMiOiJBMjU2R0NNIiwia2lkIjoib3BlbnNwY29vcCIsInppcCI6Ik5PTkUiLCJ0eXAiOiJKV1QiLCJjdHkiOiJhcHBsaWNhdGlvbi9qc29uIiwiY3JpdCI6WyJwcm92YTEiLCJwcm92YTIiXSwiaGRyMSI6InZhbHVlMSIsImhkcjIiOiJ2YWx1ZTIiLCJoZHIzIjoidmFsdWUzIn0","unprotected":{"alg":"RSA-OAEP-256"},"recipients":[{"encrypted_key":"uxFlTJGG0dF-ZAubV8sKLnWbFoZuoh4ELnqC_IP9pITmLO27hcSVAgF01k1okeX3gqJOM-rvj4hx0EVSdJ1hCE4P-gZThqDaDVMlZZGNWMB0pJha567xPqrydXjRpXthDXj18c8Ugpw8-4n-Hc78hhBi7E1uMthkRwsdPDVWQ-ycuadORn8a2RFwjCNGdIkRmV1WgnQ-NI5iyP0p2qicJzw4m-LCZhKtm5o6-FO2rryZC8bWg7S-DH6lbwxbD8DLTfHERnN8Gpir7GsRSe6YQ5yEj8BSu_yZjyD60-3kXXMcSCuMxj0SqKDukjC-RzEF2KdrI2Q2Cf6ENx4iaIKfeQ"}],"iv":"ypbVqd9sHZIG19H-","ciphertext":"vISdoCmtUWKxUyC7SwZQ2yrv3xhxOX5LgfHVNqpxv9vdIodrh2t6zspBg93RafuWOHX2XIoceZycq-DnBBaM","tag":"yr-kV01WkHCeeJ8WQsUPBw"}
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"]