digital-signature

How to sign XML document or verify XML document signature with C++?

Subj. I need to sign/verify under Windows in native C++ (no .NET), using private key for signing, public key for verification. I saw few examples on MSDN (http://msdn.microsoft.com/en-us/library/ms761363(VS.85).aspx) that demonstrate how to sign the document with CSP (I don't know what this means). For my case I need to use a "key" fro...

How do I delete a signature from an Excel document using Office automation

Hello, I have a signed Excel workbook and I want to delete the signature from it. The problem is that when I try to delete the signature there's a prompt for confirming the deletion and I want the process to be fully automatic. Here's a code sample, the prompt appears when the last line executes: Dim source As String = "c:\temp\signed.x...

Digital Certificate Parsing Library in C++?

I used Crypto++ for my application. However it lacks a digital certificate parser. I know that openSSL has one, but I have to learn the whole library again. Is there some parsing library existing for C++? All I want is to read the certificate and extract some fields, including the public key. ...

How to generate a certificate signature on the iPhone?

Hi, If I had a private certificate file and a string on the iPhone, how do I use them to generate a signed string that can be verified by a server with the matching public key? What library should I use on the iPhone? ...

Email signature with images

Hello, I am trying to build a HTML + Images Signature in Mozilla Thunderbird. I know that this isn't the most apropriated software to create email signatures... but I can't think of another one that is free. My image is attatched to the email itself. And it displays good in some Webmail Managers like Hotmail... however... in Gmail this...

what is the difference between digital signature and digital certificate?

Hey guys, i've been google'ing the difference between digital signature and digital certificate (asymmetric encryption) seems like they are the same. I would like to clarify if they are the same or not? many thanks!!! ...

How to go about signing text in a verifiable way from within ruby in a simple yet strong & portable way?

Guys, I have been looking for a portable method to digitally sign arbitrary text which can be placed in a document and distributed while maintaining its verifiable origin. Here is an example: a = 'some text' a.sign(<private key>) # => <some signature in ASCII format> The contents of a can now be distributed freely. If a receiver want...

How to digitally sign XML document using Oracle 9i PL/SQL

Let's say we have a simple XML document (doc.xml) like this: <?xml version="1.0" encoding="UTF-8"?> <Envelope xmlns="http://www.someexample.com/examples"&gt; <Salutation Id="test"> Welcome! </Salutation> </Envelope> And a certificate file:test.p12 How to make a solution using Oracle 9i PL/SQL that digitally signs XML document...

Encoding license file for privacy

Hi, We're using XML Digital Signatures for signing and verifying our license keys. The signing works fine and has been running smoothly. The XML license file contains a few (plaintext) details about the license, along with a binary signature. We'd like to encode (I don't say encrypt) those plaintext details (license duration, user name...

How to verify a digital signature with openssl

I'm using a thirdparty credit card processing service (Paybox) that, after a successful transaction, redirects back to the website with a signature in the URL as a security measure to prevent people from manipulating data. It's supposed to prove that the request originated from this service. So my success URL looks something like this: ...

how can i get iPhone digital certificate ?

do u know which URL for getting iphone digital certificate . i don't the rules for get? Seeking some link they told $99 paid. But where? what rules ? nothing see . So Could u refer correctly? ...

How to generate RSA-SHA256 digital signature with OpenSSL libraries?

Hi, I need to generate a digital signature from C++ code, using OpenSSL libraries. I understood that I need for that DSA \ DSA_do_sign, but didn't understand how exactly to use it. Does someone have an example for that, or a reference for better than OpenSSL's supplied docs? Thanks in advance! ...

How to sign a piece of data from JavaScript running in IE?

Assuming users have a personal certificate already setup (visible in Internet Options / Content / Certificates), how can I write in JavaScript code that invokes the Microsoft CryptoAPI, asking users to sign piece of data with their personal certificate? ...

Digitally sign MS Office (Word, Excel, etc..) and PDF files on the server

I need to digitally sign MS Office and PDF files that are stored on a server. I really mean a digital signature that is integrated in the document, according to each specific file formats. This is the process I had in mind : Create a hash of the file's content Send the hash to a custom written java applet in the browser The user enc...

Canonicalizing XML in Ruby

I'm working on a SAML gateway using Ruby/Rails and I'm attempting to write some code that validates the xml digital signature of the incoming SAML response against the x509 cert of the originating service. My problem: the signature depends on a canonicalized version of the XML that is hashed and then signed and I'm having trouble findin...

Digital signature integration with software written in java

hi everyone, i'm extremely rookie on this security field, so please forgive if my questions are dumb. i am asked to convert and migrate couple "Lotus Forms" forms to our software that is written in java. One thing in forms that bother me is digital signatures. These forms can be signed by digital signatures, probably generated by "Silan...

Simple digital signatures for regular users.

I have a system which is a CRM of sorts, it essentially manages customers claims that they have been mis-sold insurance. This system is expected to handle a fairly high volume of claims and several call center desks have been enlisted to that effect. The general workflow of the system is; call center recieves a claim and enters it on...

Signature Generation using PKCS#7 Specifications

I want to prepare a digital signature over some content using PKCS#7 specifications(only Signed Data). I am getting signer certificates by accessing SMART card device. I am using BouncyCastle as a provider in Java and using getEncoded method of CMSSignedData class but the output i am getting is not right and its not working. Can anybody ...

Generating PDF's with signatures using Ruby or Ruby on Rails

I'm working on a Rails application that uses prawn to generate PDF's. Long story short, we want to be able to digitally sign generated PDF's. Im not sure where to start reading up exactly. Just wanted to ask if anybody else has been able to accomplish this before, and if so, what kind of resources I should be using to do it. Thanks! ...

How to add xml signature in a xforms?

Can any one tell how to add a xml signatore in a xforms by creating a mozilla plug in. ...