digital-signature

.NET ClickOnce and Vista start-up

We have some software we use internally which is released via ClickOnce from VS 2008. The app needs to run on everyones computer all the time so the obvious solution is to have it in the Start Up folder of their start menu. This works fine on XP machines. But, as was inevitable, people are moving to Vista. Now we're hitting a problem wh...

How to Digitally Sign PDF files

I have a digital certificate that identifies an user. I need to use it to Digitally sign pdf files. Does anyone have an example that does not uses a third party component? I need to get this done but it would be nice to fully understand how things are done. C# Examples please :) ...

Digital signature in PDF

Hello, I'm trying to digitally sign a PDF file using THIS project as an example. When it executes st.Close(); I am getting the infamous "Object reference not set to instance of an object". I have no idea of why this is happening, st is an instance of an object and it is used above. This exception is happening inside .Close() and as I d...

Any delphi component for digital signing documents?

Hello there, I'm looking for a good standard based component for digitally sign documents with x509 certificates. I can't see no one native component for this. Only Activex components. ...

Check the signature on large data sets efficiently using JCA

I have to verify the signature on a file that may be as large as 2Gb, and I want to do so in a way that is as memory-efficient as possible. For various reasons, the file will already be loaded completely into memory, and is accessed using an InputStream by the application. I would like to verify the signature using the stream interface...

Digitally sign pdfs

My company has a web document management application and I have been assigned to find a way to sign pdf files with the user digital certificate. The pdfs can go from a few kb to over 100Mb, this is over the internet so the signature must take place at the web server. In order to do this i have built an activeX control that asks the use...

m_safeCertContext is an invalid handle

Hello, I've been wrestling with a problem, maybe you guys can point me in the right direction. I'm trying to digitally sign a pdf, on the webserver, over an https connection. At page load i'm doing as so: HttpClientCertificate cs = Request.ClientCertificate; X509Certificate card = new X509Certificate(cs.Certificate); Org.BouncyCastle...

How to verify an exe/dll/sys is original from Microsoft?

I need some easy API to verify that a PE file is valid & Microsoft signed just like SignTool. Where should I start? Could this be done with CAPICOM? ...

What to use? Digital signature?

Sorry I couldn't find the best heading for this question. Following is my requirement. I a working on a project which deals which large amount of money transactions to different account. The system automatically transfers money to accounts of A,B, C etc etc,, But before this is done Some one from A,B or C should approve(electronically) ...

PC/SC Functions for Digital Signature

Hi I am trying to sign an XML document with the Micrisift API for the smart cards... So far I can list the card readers, connect to the right card and establish the context but after that I am not sure what is next...... What PC/SC Functions Do I need to call to sign a document with a private smartcard key? thanks in advance Javier...

Using SHA1 and RSA with java.security.Signature vs. MessageDigest and Cipher

I'm trying to understand what the Java java.security.Signature class does. If I compute an SHA1 message digest, and then encrypt that digest using RSA, I get a different result to asking the Signature class to sign the same thing: // Generate new key KeyPair keyPair = KeyPairGenerator.getInstance("RSA").generateKeyPair(); PrivateKey pri...

Is it possible to digitally sign an Adobe LiveCycle HTML Form ?

Is possible to digitally sign an Adobe LiveCycle HTML Form ? I know that with IBM Lotus Forms you can sign forms, rendered as HTML with an ActiveX control. ...

CDSA - CSSM_X509_EXTENSIONS from SecCertificateRef

So I'm trying to add support for OS X's CDSA API to a tool that uses client-side certificates for identification and authentication. I've figured out how to get the SecCertificateRef pointers to certificates that the current user has stored in the Keychain using SecIdentitySearchCreate()/SecIdentitySearchCopyNext()/SecIdentityCopyCertif...

CAPICOM - Verify SignedCode is from a Trusted Publisher without UI

I'm using CAPICOM in a .NET 3.0 C# app to check an Authenticode signature on an exe file. I need to make sure that the certificate is listed as a Trusted Publisher. Using signedCode.Verify(true) will show a dialog if the certificate is not already trusted, so the user can choose whether or not to do so. However, signedCode.Verify(false) ...

Maintaining message integrity

I have a message that I am passing to myself which will be subject to man-in-the-middle attacks. Because of that, I am concerned about the integrity of the message being maintained between the time I send it, and the time that I receive it back. It should be assumed that once I send the message to myself, no information about the messa...

Generate PDF with digital signature

Is it possible to generate PDF file in PHP with digital signature? An open-source solution is preferred. ...

X.509 Digital Signatures printed

Hello, I'm using digital certificates to sign a transaction results, also, I need to print out a slip with information and digital signature on it. I was wondering if there is any shorter representation of X.509 digital signature specifically designed for printed media? Maybe some kind of hash or something similar... Thank you very mu...

Should interop assemblies be signed?

We have a set of COM components developed in VC++. When a reference to such component is added to a .NET project Visual Studio generates an interop assembly. We have a set of such assemblies now. While running our daily build we sign all the produced binaries with a digital signature. Interop assemblies are not signed since we don't fee...

Would a login system based on digital signing be a good idea?

One of the goals of OpenID is to be resistant against the failure of any one corporation. This sounds good, but there is another problem: if the site your ID is hosted on goes down, so does your ID. I thought that there must be a login system that would be totally resistant to failure. My idea is like this: I go to a website and I have ...

Digitally sign in PHP using private key, verify in C#

I am working on a feature that needs me to digitally sign a short string in PHP, and verify the string's signature in C#. I would really like to use openssl_sign in PHP, because of its simplicity, but all the information I can find on Google indicates that this will not work. There are some external libraries that claim to do this well...