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 [24524d49-d381-11ef-82fa-060730329b56]
[24524d49-d381-11ef-82fa-060730329b56] Atteso [200] ritornato [200]
[24524d49-d381-11ef-82fa-060730329b56] JSON: {"protected":"eyJlbmMiOiJBMjU2R0NNIiwia2lkIjoib3BlbnNwY29vcCIsInppcCI6Ik5PTkUiLCJ0eXAiOiJKV1QiLCJjdHkiOiJhcHBsaWNhdGlvbi9qc29uIiwiY3JpdCI6WyJwcm92YTEiLCJwcm92YTIiXSwiaGRyMSI6InZhbHVlMSIsImhkcjIiOiJ2YWx1ZTIiLCJoZHIzIjoidmFsdWUzIn0","unprotected":{"alg":"RSA-OAEP-256"},"recipients":[{"encrypted_key":"VJ2Er1EnTJkHkKlSergf-4PuXpUMper95_2lZEmZgwF13ClZsxKIM8-TEbiaQE9r8dZcPhe8_wfdQWkWaAMJuYpzgz_zlqzAW9qCh1VGJXOLqr2UOtc1440Ee6l_vSQ8hTn1VjN7yppLZvle1JvdDzinxCSN97eXdTO_yb0DeqwghS2rkCJsJHRvaT-sKdYOH70EFJ84KRBiYSA5FsshFByMoUsamNTKz5Vhvtq6M35anv7qfckBniO7xWA0-0V3gmop9zL6PetIOzjUSWU44fHjNLa1aqI--ouJzoAzLDfYq0cNe-VqcenNcjWrBzEpNqdW-qLG3e53tZKRx6iFUA"}],"iv":"aifboNPxmonXlWkW","ciphertext":"GgisHhYye1UUfL9bcwY7i1JRm_1lX_tXv5pwguZ_D9pRw_4YvZo-uuipgrw9FzxpnfeVJZxW62DMpdVwVw7w","tag":"PCswRqp128S0YJ-FmixipA"}
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"]