Closed

XML-Signature VB6.0 Example using .pfx certificate

Hi I need a simple VB 6.0 example program the one Get 1 .xml file (Get [url removed, login to view]) , select a [url removed, login to view] Certificate from the Windows SSL certificates and Generate 1 New .xml file (Get [url removed, login to view]) With the Signature as show here:

- <Signature xmlns="[url removed, login to view]">

- <SignedInfo>

<CanonicalizationMethod Algorithm="[url removed, login to view]" />

<SignatureMethod Algorithm="[url removed, login to view]" />

- <Reference URI="#NFe4306039266561101315555099000006992000705547">

- <Transforms>

<Transform Algorithm="[url removed, login to view]" />

<Transform Algorithm="[url removed, login to view]" />

</Transforms>

<DigestMethod Algorithm="[url removed, login to view]" />

<DigestValue>5a8LZ7aJQIsZKEm+gtw4ltAa0EY=</DigestValue>

</Reference>

</SignedInfo>

<SignatureValue>eDzgPOfAvxrb5KbyLEZVQ42FQ/c6mE69uLdIhuomDpPzwfW4I9m1jJPADmVKJ5FVeHClHFZnAUa9yRNvu92hkplH2KJFlg57Qi6q2Uxc4SK/4RcBXpQfsj5zTAFI1/GTkgE7NiN9y0rOP0aRKVtZaXcH51fwHK4ZY6dlUfP4QjA=</SignatureValue>

- <KeyInfo>

- <X509Data>

<X509Certificate>MIIFNTCCBB2gAwIBAgIQMjAwNTA5MjkxMjU5NTkwMjANBgkqhkiG9w0BAQUFADCBhzELMAkGA1UEBhMCQlIxEzARBgNVBAoTCklDUC1CcmFzaWwxLDAqBgNVBAsTI1NlY3JldGFyaWEgZGEgUmVjZWl0YSBGZWRlcmFsIC0gU1JGMTUwMwYDVQQDEyxIT01BdXRvcmlkYWRlIENlcnRpZmljYWRvcmEgZG8gU0VSUFJPIFNSRiB2MTAeFw0wNTA5MjkxODU2MTNaFw0wNjA5MjkxODU2MTNaMIHIMQswCQYDVQQGEwJCUjETMBEGA1UEChMKSUNQLUJyYXNpbDEqMCgGA1UECxMhU2VjcmV0YXJpYSBkYSBSZWNlaXRhIEZlZGVyYWwtU1JGMRUwEwYDVQQLEwxDT05UUklCVUlOVEUxFjAUBgNVBAsTD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RjeJGOcW5ALgbpe4at+p4iUq7eB5Et/VAGoR3RiZKQCZYLbg14itpdzAe8xDRP/LdClFISkOqaP3Gf1PHD9/FrDZ1wuu0qAAmpgrdz3aszDcHgpz9b33kNdxaqw8H+1VlZmYEKzqfKVsHeK40xORLAKeyPHrHetC0oA4kw8qiiPbotevf9lheofvy3aw2lLK0ztmMs5RPJ71qoN9GqBKmq3ziym29QKBhmEBHvLQCssoobLtZvoMtw5RAo1xJmCMzwKerOFH58sO8DhbJckbU=</X509Certificate>

</X509Data>

</KeyInfo>

</Signature>

I don't need a beautiful program, just need a Visual Basic 6.0 source code the one work with out of specials .ocx depends.

Just need 3 buttons:

"Select Certificate"

"Select 'XML File [url removed, login to view]' "

"Generate 'XML File [url removed, login to view]' "

If have any doubt you can see this program the one do the same (and many other things) [url removed, login to view]

"Associacao de Moradores.pfx" are the certificate I use to generate the "Get File_sign.xml" file.

Skills: Building Certifiers, Internet Security, Visual Basic, XML

Location: India

See more: vb6 example using keyboard hit, sign xml using x509 certificate, creat xml file vb6 sample code, banner management example using cakephp, vb6 grid example, xml correctly vb6, inventory management system project example using php codes, parser xml avec vb6, extjs grid example using mysql php, example using data mysql using javascript php, actionscript xml signature, php example using wikipedia apiphp, xml parser vb6, xml creator vb6

About the Employer:
( 2 reviews ) Capital Federal, Panama

Project ID: #15160045