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 [b769c00f-d48e-11ef-9d7e-060730329b56]
[b769c00f-d48e-11ef-9d7e-060730329b56] Atteso [200] ritornato [200]
[b769c00f-d48e-11ef-9d7e-060730329b56] JSON: {"protected":"eyJlbmMiOiJBMjU2R0NNIiwia2lkIjoib3BlbnNwY29vcCIsInppcCI6Ik5PTkUiLCJ0eXAiOiJKV1QiLCJjdHkiOiJhcHBsaWNhdGlvbi9qc29uIiwiY3JpdCI6WyJwcm92YTEiLCJwcm92YTIiXSwiaGRyMSI6InZhbHVlMSIsImhkcjIiOiJ2YWx1ZTIiLCJoZHIzIjoidmFsdWUzIn0","unprotected":{"alg":"RSA-OAEP-256"},"recipients":[{"encrypted_key":"FTUBjeFdEAlkkUpi1ulIBNUh46cj2SKrcdKEg57EyBtf3fcfS8sg-vO9zKBNoCOTgFc11CP5taYk9D4hrIIEjonvoMCOg9S5FmZXWDVWGQILpBtvDjvCwCGjZFuFqZabXuA413DKXQCYm4VmBHzKE2L8HVXiL2auIgA7U-5cz8rCrsMXcL82H1-U2Z2pUo0-vLzxzwJ4-j5vKyroSH83rSuIDQMTBRrfzxEKGWkZJ0n2c7D-w-nVR3jLUS4fhsu3u31yUgYwDKa7cTsoG_Nn8sNIihJmuOH4gA7bs9sZCNsI6_goMiQ5zDannWb32wWRM0u5iJCAQVUs17bjQemVOw"}],"iv":"3jQM6otzx5tOE3WG","ciphertext":"v2VRTLkz_JzH3MU2J4uxYIJLmN8wMrQm0x6pwVb4vdT4LZnPSFmGm-fypsj6Si4dyw9erXDrg3kn0n53rQFO","tag":"oWilt7wM34QZLfJtU6PwIg"}
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"]