jsonTestEsaminaJWT
(from org.openspcoop2.protocol.trasparente.testsuite.units.rest.jose.JOSEEncrypt took 2.4 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 [72194903-a1ef-11ef-9e36-060730329b56]
[72194903-a1ef-11ef-9e36-060730329b56] Atteso [200] ritornato [200]
[72194903-a1ef-11ef-9e36-060730329b56] JSON: {"protected":"eyJlbmMiOiJBMjU2R0NNIiwia2lkIjoib3BlbnNwY29vcCIsInppcCI6Ik5PTkUiLCJ0eXAiOiJKV1QiLCJjdHkiOiJhcHBsaWNhdGlvbi9qc29uIiwiY3JpdCI6WyJwcm92YTEiLCJwcm92YTIiXSwiaGRyMSI6InZhbHVlMSIsImhkcjIiOiJ2YWx1ZTIiLCJoZHIzIjoidmFsdWUzIn0","unprotected":{"alg":"RSA-OAEP-256"},"recipients":[{"encrypted_key":"TYfILeBiV1qgUTgDSwHiVl83iFDad5nI9RPvgq2cqUo1OPf9Wc3CHnCk8IHBmKZb5-sbFN2EdhgtMipjJ5Qtq5NOkltHgZxPWmK9n8mVZNKSUNiS461g9jzJUOKjScOcQdCpDeO3EwIVpe26PcjJQqShFBIk9cZGkw5sLlALb_sGwth3xBU24rRcJzDc5otuJ2sLYGG6_X2sVOHuFpHC9eAhHuSVraBJ3IGXmsyqPRgWKeDlpch_BtkTgX5Klokw7KIhuKyKEj9zxXFhaJ0RfSDPxACMSfmk0gs_BF543HeXG7QUQ7_lQ_4m1cx4zIAByrOUQ0MPrtos09t1XL5AlQ"}],"iv":"6F7SaS-PA478PmP9","ciphertext":"mN1L0I8DScYAtUhZBvH6qG-IvQRGN_ceS84ZIhQe2AA1Ux2Xe1YSz2Gurv_xK3mRrEw5k_qZGu_LCtDqKBGN","tag":"Q5bUogwV5QP8g9hOK_quHA"}
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"]