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 [f6c97793-d408-11ef-9bef-060730329b56]
[f6c97793-d408-11ef-9bef-060730329b56] Atteso [200] ritornato [200]
[f6c97793-d408-11ef-9bef-060730329b56] JSON: {"protected":"eyJlbmMiOiJBMjU2R0NNIiwia2lkIjoib3BlbnNwY29vcCIsInppcCI6Ik5PTkUiLCJ0eXAiOiJKV1QiLCJjdHkiOiJhcHBsaWNhdGlvbi9qc29uIiwiY3JpdCI6WyJwcm92YTEiLCJwcm92YTIiXSwiaGRyMSI6InZhbHVlMSIsImhkcjIiOiJ2YWx1ZTIiLCJoZHIzIjoidmFsdWUzIn0","unprotected":{"alg":"RSA-OAEP-256"},"recipients":[{"encrypted_key":"o-_1BdU4bPmQqVH24mgfYAhwNyDzus9q7h4U-GfOaeG8cpiU8aOGc09kk-Tq2hriq7Qhh7WFAtRMdipsh6Ygow0eWDLwgvZSWVQ7d6rU2pkerxvowP-AK4y0Swn0smfm47NgVYMHsIGDN2iZuaziTwNLgr4VwCxschFAyOv9MdhvFwxhArrmSHLER3Sr6SAZMpAsWSIxe4JQyy9h0TY8DHfrMY4MmF6qJD0KHDpXF7I_r0mCp3VqPGxeWc1tRTnN63MHnT5c6aSK8oA6VuTE1bwzQzNrkT2VJaXTwc5ZYTFyfTThd63sX3w8VBj1SdJeedjNuD0FRgPFWr_ayO8NqQ"}],"iv":"u-dGlzLFxrXLCLHc","ciphertext":"FtueBu_7CvJWkQoNxNfHqU8R6jZ9E0wl1Ozo582yqHq8tFbj6E7fHeYTN5-lcgY-EioY20ygtZbCXY-dyGdI","tag":"VBiUprrf-WfBjDBSWPFXcA"}
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"]