{ "title":"JOSE Cookbook Example 4.8 - multiple signatures", "input":{ "plaintext":"This is the content.", "sign":{ "signers":[ { "key":{ "kty":"EC", "kid":"11", "crv":"P-256", "x":"usWxHK2PmfnHKwXPS54m0kTcGJ90UiglWiGahtagnv8", "y":"IBOL-C3BttVivg-lSreASjpkttcsz-1rb7btKLv8EX4", "d":"V8kgd2ZBRuh2dgyVINBUqpPDr7BOMGcF22CQMIUHtNM" }, "unprotected":{ "kid":"11" }, "protected":{ "alg":"ES256" } }, { "key":{ "kty":"EC", "kid":"bilbo.baggins@hobbiton.example", "use":"sig", "crv":"P-521", "x":"AHKZLLOsCOzz5cY97ewNUajB957y-C-U88c3v13nmGZx6sYl_oJXu9A5RkTKqjqvjyekWF-7ytDyRXYgCF5cj0Kt", "y":"AdymlHvOiLxXkEhayXQnNCvDX4h9htZaCJN34kfmC6pV5OhQHiraVySsUdaQkAgDPrwQrJmbnX9cwlGfP-HqHZR1", "d":"AAhRON2r9cqXX1hg-RoI6R1tX5p2rUAYdmpHZoC1XNM56KtscrX6zbKipQrCW9CGZH3T4ubpnoTKLDYJ_fF3_rJt" }, "protected":{ "alg":"ES512" }, "unprotected":{ "kid":"bilbo.baggins@hobbiton.example" } } ] } }, "intermediates":{ "signers":[ { "ToBeSign_hex":"85695369676E61747572654043A101264054546869732069732074686520636F6E74656E742E" }, { "ToBeSign_hex":"85695369676E61747572654044A10138234054546869732069732074686520636F6E74656E742E" } ] }, "output":{ "cbor_diag":"98([h'', {}, h'546869732069732074686520636F6E74656E742E', [[h'A10126', {4: h'3131'}, h'E2AEAFD40D69D19DFE6E52077C5D7FF4E408282CBEFB5D06CBF414AF2E19D982AC45AC98B8544C908B4507DE1E90B717C3D34816FE926A2B98F53AFD2FA0F30A'], [h'A1013823', {4: h'62696C626F2E62616767696E7340686F626269746F6E2E6578616D706C65'}, h'00A2D28A7C2BDB1587877420F65ADF7D0B9A06635DD1DE64BB62974C863F0B160DD2163734034E6AC003B01E8705524C5C4CA479A952F0247EE8CB0B4FB7397BA08D009E0C8BF482270CC5771AA143966E5A469A09F613488030C5B07EC6D722E3835ADB5B2D8C44E95FFB13877DD2582866883535DE3BB03D01753F83AB87BB4F7A0297']]])", "cbor":"D8628440A054546869732069732074686520636F6E74656E742E828343A10126A1044231315840E2AEAFD40D69D19DFE6E52077C5D7FF4E408282CBEFB5D06CBF414AF2E19D982AC45AC98B8544C908B4507DE1E90B717C3D34816FE926A2B98F53AFD2FA0F30A8344A1013823A104581E62696C626F2E62616767696E7340686F626269746F6E2E6578616D706C65588400A2D28A7C2BDB1587877420F65ADF7D0B9A06635DD1DE64BB62974C863F0B160DD2163734034E6AC003B01E8705524C5C4CA479A952F0247EE8CB0B4FB7397BA08D009E0C8BF482270CC5771AA143966E5A469A09F613488030C5B07EC6D722E3835ADB5B2D8C44E95FFB13877DD2582866883535DE3BB03D01753F83AB87BB4F7A0297" } }