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;@7944b8b4 |
Reporter Output
URL: http://localhost:8080/govway/api/out/JOSE/jweJsonAsymmetricJWTHeadersOnlySenderRequest/jweJsonAsymmetricJWTHeadersOnlySenderRequest/service/echo
Atteso [200] ritornato [200], raccolgo id ...
Ricevuto id [470b4840-c12f-11ef-8750-060730329b56]
[470b4840-c12f-11ef-8750-060730329b56] Atteso [200] ritornato [200]
[470b4840-c12f-11ef-8750-060730329b56] JSON: {"protected":"eyJlbmMiOiJBMjU2R0NNIiwia2lkIjoib3BlbnNwY29vcCIsInppcCI6Ik5PTkUiLCJ0eXAiOiJKV1QiLCJjdHkiOiJhcHBsaWNhdGlvbi9qc29uIiwiY3JpdCI6WyJwcm92YTEiLCJwcm92YTIiXSwiaGRyMSI6InZhbHVlMSIsImhkcjIiOiJ2YWx1ZTIiLCJoZHIzIjoidmFsdWUzIn0","unprotected":{"alg":"RSA-OAEP-256"},"recipients":[{"encrypted_key":"Z5pDUcjiPWGZCvf4qXd3QbYlwf1rxpoB9Xv7x-oqlgmKP6cgXpEKsHQMvb5nxtbcDyfk7lRzBNt5dh60DMb9xGg188PbvBE2rTGf9vktRO0-Az5oHUXRcQPZGu03GFVuCKr0InefTpCEA3j83fkZiCK--m8Gj6AM0fTB3HAeTbUixCq3dG0pJUSIxwqp-anUb9S6FjWP4IjenqQjE-9rOJ8BYm07oLhQbl6_xiwYWsZ4nZcygGKapxcLOdZF-2-ec21RA8YTYNGRQE86moRQfqQ64qON0cUa_Vnl0MeUvwivcRfpzystX1bSplx2ReZn_P8D1oRKwrHcHxjyBpaLqw"}],"iv":"PPZfwMeBtMugJpcY","ciphertext":"pP62yN0BSoN3wQDAuRFPimZlYOqDefJjME57wNhTnJxFfbYx1QPMLLZofIKWhlKXwyCoTcjwd_7NFAbUklXS","tag":"NyUX5q2e4xN8vNOnyf8XHg"}
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"]