Необходимо подписать xml документ через 1с используя алгоритмы (ХЭШ , подпись) провайдера КРИПТОПРО , пример подписи:
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"> <SignedInfo> <CanonicalizationMethod Algorithm="urn:xml-dsig:transformation:v1.1"/> <SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#gostr34102001-gostr3411"/> <Reference URI="#KeyInfo"> <Transforms> <Transform Algorithm="urn:xml-dsig:transformation:v1.1"/> </Transforms> <DigestMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#gostr3411"/> <DigestValue>FVeGDkTyLMSgc0cKfJfwWNRAjIskRCHtBW1RjkiIt4M=</DigestValue> </Reference> <Reference URI="#Object"> <Transforms> <Transform Algorithm="urn:xml-dsig:transformation:v1.1"/> </Transforms> <DigestMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#gostr3411"/> <DigestValue>WB4YdgAJHX1j+DYgWov1gMDhqJYMr4QSCdvQo7iwfiw=</DigestValue> </Reference> </SignedInfo> <SignatureValue>много символов</SignatureValue> <KeyInfo Id="KeyInfo"> <X509Data> <X509Certificate>много символов</509Certificate> </X509Data> </KeyInfo> <Object Id="Object"> подписываемый документ ........................................................ </Object> </Signature>
|