Atom Лента - Форум КриптоПро - Тема:Подписание хэша вместо подписи документа - 10Форум КриптоПро - Atom Лентаurn:https:--www-cryptopro-ru:AtomLenta:ForumKriptoPro:Tema:Podpisaniekhehshavmestopodpisidokumenta-10:1Copyright 2024 Форум КриптоПро2024-03-28T12:53:00Zhttps://www.cryptopro.ru/forum2/Images/YAFLogo.pngForum Adminhttps://www.cryptopro.ruforum@cryptopro.ruАндрей *https://www.cryptopro.ru/forum2/default.aspx?g=profile&u=15008&name=Андрей *Андрей *https://www.cryptopro.ru/forum2/default.aspx?g=profile&u=15008&name=Андрей *Андрей *https://www.cryptopro.ru/forum2/default.aspx?g=profile&u=15008&name=Андрей *Андрей *https://www.cryptopro.ru/forum2/default.aspx?g=profile&u=15008&name=Андрей *crypto7https://www.cryptopro.ru/forum2/default.aspx?g=profile&u=59345&name=crypto7Анатолий Беляевhttps://www.cryptopro.ru/forum2/default.aspx?g=profile&u=2008&name=Анатолий Беляевmskvortsovhttps://www.cryptopro.ru/forum2/default.aspx?g=profile&u=40800&name=mskvortsovYetAnotherForum.NETurn:https:--www-cryptopro-ru:ftPosts:st1:meid125007:1Подписание хэша вместо подписи документа<table class="content postContainer_Alt" width="100%"><tr><td><div class="quote"><span class="quotetitle">Автор: crypto7 <a href="/forum2/default.aspx?g=posts&m=124999#post124999"><img src="/forum2/Themes/soclean/icon_latest_reply.gif" title="Перейти к цитате" alt="Перейти к цитате" /></a></span><blockquote><div class="quote"><span class="quotetitle">Автор: Анатолий Беляев <a href="/forum2/default.aspx?g=posts&m=68042#post68042"><img src="/forum2/Themes/soclean/icon_latest_reply.gif" title="Перейти к цитате" alt="Перейти к цитате" /></a></span><blockquote>Да, можно самому посчитать хеш от документа и передать его в функции подписи. См <a rel="nofollow" href="http://cpdn.cryptopro.ru/default.asp?url=content/cades/plugin-samples-raw-signature.html" title="http://cpdn.cryptopro.ru/default.asp?url=content/cades/plugin-samples-raw-signature.html">пример</a></div></div><br /><br />Не могли бы вы подсказать, как именно самому можно посчитать хэш-значение, например, PDF-документа средствами CAdESCOM?</div></div><br /><br /><a rel="nofollow" href="https://docs.cryptopro.ru/cades/plugin/plugin-samples/plugin-samples-hashed-data-bin" title="https://docs.cryptopro.ru/cades/plugin/plugin-samples/plugin-samples-hashed-data-bin">https://docs.cryptopro.r...-samples-hashed-data-bin</a></td></tr></table>2021-05-24T16:43:36+03:002021-05-24T16:43:36+03:00Андрей *<table class="content postContainer_Alt" width="100%"><tr><td><div class="quote"><span class="quotetitle">Автор: crypto7 <a href="/forum2/default.aspx?g=posts&m=124999#post124999"><img src="/forum2/Themes/soclean/icon_latest_reply.gif" title="Перейти к цитате" alt="Перейти к цитате" /></a></span><blockquote><div class="quote"><span class="quotetitle">Автор: Анатолий Беляев <a href="/forum2/default.aspx?g=posts&m=68042#post68042"><img src="/forum2/Themes/soclean/icon_latest_reply.gif" title="Перейти к цитате" alt="Перейти к цитате" /></a></span><blockquote>Да, можно самому посчитать хеш от документа и передать его в функции подписи. См <a rel="nofollow" href="http://cpdn.cryptopro.ru/default.asp?url=content/cades/plugin-samples-raw-signature.html" title="http://cpdn.cryptopro.ru/default.asp?url=content/cades/plugin-samples-raw-signature.html">пример</a></div></div><br /><br />Не могли бы вы подсказать, как именно самому можно посчитать хэш-значение, например, PDF-документа средствами CAdESCOM?</div></div><br /><br /><a rel="nofollow" href="https://docs.cryptopro.ru/cades/plugin/plugin-samples/plugin-samples-hashed-data-bin" title="https://docs.cryptopro.ru/cades/plugin/plugin-samples/plugin-samples-hashed-data-bin">https://docs.cryptopro.r...-samples-hashed-data-bin</a></td></tr></table>urn:https:--www-cryptopro-ru:ftPosts:st1:meid125006:1Подписание хэша вместо подписи документа<table class="content postContainer" width="100%"><tr><td>Пример с <a rel="nofollow" href="https://docs.cryptopro.ru/cades/plugin/plugin-samples/plugin-samples-fileapi_stream?id=%d0%9f%d0%be%d0%b4%d0%bf%d0%b8%d1%81%d1%8c-%d1%84%d0%b0%d0%b9%d0%bb%d0%b0-%d1%81-%d0%b8%d1%81%d0%bf%d0%be%d0%bb%d1%8c%d0%b7%d0%be%d0%b2%d0%b0%d0%bd%d0%b8%d0%b5%d0%bc-fileapi-%d0%b8-%d1%87%d1%82%d0%b5%d0%bd%d0%b8%d0%b5%d0%bc-%d1%84%d0%b0%d0%b9%d0%bb%d0%b0-%d0%bf%d0%be-%d1%87%d0%b0%d1%81%d1%82%d1%8f%d0%bc" title="https://docs.cryptopro.ru/cades/plugin/plugin-samples/plugin-samples-fileapi_stream?id=%d0%9f%d0%be%d0%b4%d0%bf%d0%b8%d1%81%d1%8c-%d1%84%d0%b0%d0%b9%d0%bb%d0%b0-%d1%81-%d0%b8%d1%81%d0%bf%d0%be%d0%bb%d1%8c%d0%b7%d0%be%d0%b2%d0%b0%d0%bd%d0%b8%d0%b5%d0%bc-fileapi-%d0%b8-%d1%87%d1%82%d0%b5%d0%bd%d0%b8%d0%b5%d0%bc-%d1%84%d0%b0%d0%b9%d0%bb%d0%b0-%d0%bf%d0%be-%d1%87%d0%b0%d1%81%d1%82%d1%8f%d0%bc">хешированием</a>.<br /><br /><div class="quote"><span class="quotetitle">Цитата:</span><blockquote><br />var oHashedData = yield cadesplugin.CreateObjectAsync("CAdESCOM.HashedData");</div></div><br />и далее... <br />заменить переменные\создание на необходимые из используемого ЯП.</td></tr></table>2021-05-24T16:40:35+03:002021-05-24T16:40:35+03:00Андрей *<table class="content postContainer" width="100%"><tr><td>Пример с <a rel="nofollow" href="https://docs.cryptopro.ru/cades/plugin/plugin-samples/plugin-samples-fileapi_stream?id=%d0%9f%d0%be%d0%b4%d0%bf%d0%b8%d1%81%d1%8c-%d1%84%d0%b0%d0%b9%d0%bb%d0%b0-%d1%81-%d0%b8%d1%81%d0%bf%d0%be%d0%bb%d1%8c%d0%b7%d0%be%d0%b2%d0%b0%d0%bd%d0%b8%d0%b5%d0%bc-fileapi-%d0%b8-%d1%87%d1%82%d0%b5%d0%bd%d0%b8%d0%b5%d0%bc-%d1%84%d0%b0%d0%b9%d0%bb%d0%b0-%d0%bf%d0%be-%d1%87%d0%b0%d1%81%d1%82%d1%8f%d0%bc" title="https://docs.cryptopro.ru/cades/plugin/plugin-samples/plugin-samples-fileapi_stream?id=%d0%9f%d0%be%d0%b4%d0%bf%d0%b8%d1%81%d1%8c-%d1%84%d0%b0%d0%b9%d0%bb%d0%b0-%d1%81-%d0%b8%d1%81%d0%bf%d0%be%d0%bb%d1%8c%d0%b7%d0%be%d0%b2%d0%b0%d0%bd%d0%b8%d0%b5%d0%bc-fileapi-%d0%b8-%d1%87%d1%82%d0%b5%d0%bd%d0%b8%d0%b5%d0%bc-%d1%84%d0%b0%d0%b9%d0%bb%d0%b0-%d0%bf%d0%be-%d1%87%d0%b0%d1%81%d1%82%d1%8f%d0%bc">хешированием</a>.<br /><br /><div class="quote"><span class="quotetitle">Цитата:</span><blockquote><br />var oHashedData = yield cadesplugin.CreateObjectAsync("CAdESCOM.HashedData");</div></div><br />и далее... <br />заменить переменные\создание на необходимые из используемого ЯП.</td></tr></table>urn:https:--www-cryptopro-ru:ftPosts:st1:meid125004:1Подписание хэша вместо подписи документа<table class="content postContainer_Alt" width="100%"><tr><td>Использовать метод Hash.<br />Объект <a rel="nofollow" href="https://docs.cryptopro.ru/cades/reference/cadescom/cadescom_class/cphasheddata?id=%d0%9e%d0%b1%d1%8a%d0%b5%d0%ba%d1%82-cphasheddata" title="https://docs.cryptopro.ru/cades/reference/cadescom/cadescom_class/cphasheddata?id=%d0%9e%d0%b1%d1%8a%d0%b5%d0%ba%d1%82-cphasheddata">CPHashedData</a></td></tr></table>2021-05-24T16:37:34+03:002021-05-24T16:37:34+03:00Андрей *<table class="content postContainer_Alt" width="100%"><tr><td>Использовать метод Hash.<br />Объект <a rel="nofollow" href="https://docs.cryptopro.ru/cades/reference/cadescom/cadescom_class/cphasheddata?id=%d0%9e%d0%b1%d1%8a%d0%b5%d0%ba%d1%82-cphasheddata" title="https://docs.cryptopro.ru/cades/reference/cadescom/cadescom_class/cphasheddata?id=%d0%9e%d0%b1%d1%8a%d0%b5%d0%ba%d1%82-cphasheddata">CPHashedData</a></td></tr></table>urn:https:--www-cryptopro-ru:ftPosts:st1:meid124999:1Подписание хэша вместо подписи документа<table class="content postContainer" width="100%"><tr><td><div class="quote"><span class="quotetitle">Автор: Анатолий Беляев <a href="/forum2/default.aspx?g=posts&m=68042#post68042"><img src="/forum2/Themes/soclean/icon_latest_reply.gif" title="Перейти к цитате" alt="Перейти к цитате" /></a></span><blockquote>Да, можно самому посчитать хеш от документа и передать его в функции подписи. См <a rel="nofollow" href="http://cpdn.cryptopro.ru/default.asp?url=content/cades/plugin-samples-raw-signature.html" title="http://cpdn.cryptopro.ru/default.asp?url=content/cades/plugin-samples-raw-signature.html">пример</a></div></div><br /><br />Не могли бы вы подсказать, как именно самому можно посчитать хэш-значение, например, PDF-документа средствами CAdESCOM?</td></tr></table>2021-05-24T16:02:54+03:002021-05-24T16:02:54+03:00crypto7<table class="content postContainer" width="100%"><tr><td><div class="quote"><span class="quotetitle">Автор: Анатолий Беляев <a href="/forum2/default.aspx?g=posts&m=68042#post68042"><img src="/forum2/Themes/soclean/icon_latest_reply.gif" title="Перейти к цитате" alt="Перейти к цитате" /></a></span><blockquote>Да, можно самому посчитать хеш от документа и передать его в функции подписи. См <a rel="nofollow" href="http://cpdn.cryptopro.ru/default.asp?url=content/cades/plugin-samples-raw-signature.html" title="http://cpdn.cryptopro.ru/default.asp?url=content/cades/plugin-samples-raw-signature.html">пример</a></div></div><br /><br />Не могли бы вы подсказать, как именно самому можно посчитать хэш-значение, например, PDF-документа средствами CAdESCOM?</td></tr></table>urn:https:--www-cryptopro-ru:ftPosts:st1:meid68042:1Подписание хэша вместо подписи документа<table class="content postContainer_Alt" width="100%"><tr><td>Да, можно самому посчитать хеш от документа и передать его в функции подписи. См <a rel="nofollow" href="http://cpdn.cryptopro.ru/default.asp?url=content/cades/plugin-samples-raw-signature.html" title="http://cpdn.cryptopro.ru/default.asp?url=content/cades/plugin-samples-raw-signature.html">пример</a></td></tr></table>2016-03-31T16:57:29+03:002016-03-31T16:57:29+03:00Анатолий Беляев<table class="content postContainer_Alt" width="100%"><tr><td>Да, можно самому посчитать хеш от документа и передать его в функции подписи. См <a rel="nofollow" href="http://cpdn.cryptopro.ru/default.asp?url=content/cades/plugin-samples-raw-signature.html" title="http://cpdn.cryptopro.ru/default.asp?url=content/cades/plugin-samples-raw-signature.html">пример</a></td></tr></table>urn:https:--www-cryptopro-ru:ftPosts:st1:meid67799:1Подписание хэша вместо подписи документа<table class="content postContainer" width="100%"><tr><td>Подскажите, корректно ли подписывать не сам контент документа, а его хэш? Будет ли подпись в этих случаях совпадать?</td></tr></table>2016-03-24T17:24:10+03:002016-03-24T17:24:10+03:00mskvortsov<table class="content postContainer" width="100%"><tr><td>Подскажите, корректно ли подписывать не сам контент документа, а его хэш? Будет ли подпись в этих случаях совпадать?</td></tr></table>