digital-signature

Render PDF in SSRS 2008 with digital signature block.

We are using SSRS 2008 to render pdf reports for our users. They would like the capability to digitally sign these reports. Is there anyway to add a digital signature block to a pdf file using SSRS 2008? ...

Signing a PDF file

I use iTextSharp to sign a PDF file. But Adobe Reader cannot verify my signature. I use SHA-2 test certificate (I tried also SHA-1) generated by certification authority. I have installed root certificate for test certificates of this authority. public static void SignHashed(X509Certificate2 card, Stream input, Stream output) { Org.B...

A way to generate a signature or a hash of an image in ASP.NET for duplicate detection?

Hey guys, I run a rather large site where my members add thousands of images every day. Obviously there is a lot of duplication and i was just wondering if during an upload of an image i can somehow generate a signature or a hash of an image so i can store it. And every time someone uploads the picture i would simply run a check if this ...

Are .Net's and Java's DSA implementation compatible?

I am trying to digitally sign requests made by a mobile client running J2ME and want to verify the signature by the .Net Framework. Does anyone know if the implementations DSACryptoServiceProvider //.Net and Signature.getInstance("SHA1withDSA", "SUN") //Java are compatible? Or does anyone have a better idea? After some resea...

SignedCms.CheckSignature() with renewed cert -> new serial?????

hi programming folks, i am using SignedCms.CheckSignature(certColl, true) (with only one cert in certColl) to verify the signature of a pkcs-7 message. My problem is that i dont want to change the (public part of the) signers certificate on my server after the signer has renewed his certificate :-( The public key, issuer and subject a...

Sign with RSA-1024 an SHA-256 digest: what is the size?

Hi, I was wondering: 1) if I compute the digest of some datas with SHA-512 => resulting in a hash of 64 bytes 2) and then I sign this hash with RSA-1024 => so a block of 128 bytes, which is bigger than the 64 bytes of the digest => does it mean in the end my signed hash will be exactly 128 bytes? Thanks a lot for any info. ...

What do I need to know about XML Signatures to get SAML working?

At work we have a web app that we'll need to interface with another company's web app using Single Sign On validated by SAML. Our web apps are written in PHP, and it's obviously irrelevant what language choice the other company is using. Nonetheless, I've needed to write a simple API that this other company can send SOAP requests to with...

Uncertified Windows Driver

OK, I am working on developing a USB device. I have created a custom windows driver for the device based on a pre-made Windows driver from my MCU manufacturer. The driver works fine on Windows XP, and Windows 7 (32-bit), BUT on my Windows 7 64-Bit machine, it will not let me use the driver. The driver will install just fine but when i go...

Auditable NDA Solution

Just started at a place and, currently, they ask folks to fax in NDA. They want to (possibly) move toward doing something electronically on their web site. It seems they aren't too keen on the checkbox ("I agree") approach and would like to keep an audit trail. Ahem, they even brought up digital signatures which I have no experience impl...

How to verify that my orgainization signed a trusted windows binary ?

This is a followup question to question 1072540, 'WinVerifyTrust to check for a specific signature?'. I want to write a C++ function Lets call it 'TrustedByUs' of the form: bool TrustedByUs(std::string pathToBinary, std::string pathToPublicKey) The idea is that we give this function a path to a binary .dll or .exe file that has been ...

How do I securely sign data with a timestamp?

I would like to sign records in a database with a secure timestamp to prove they have not been altered by anyone after that date. What methods or services should I consider? RFC 3161? Does anyone provide that service /and/ have a reputable looking website? Is it possible to roll your own? ...

Is there an easier way to sign an XML document in Java?

I'm trying to digitally sign an XML document using Java. I've got an implementation working with some references I've found that use various implementations in the javax.xml.crypto.dsig package. However, my current implementation is like many of the examples I've looked at - it's rather verbose and involves using no less than 23 differe...

Can I enable a PDF for digital signatures outside Acrobat Pro?

I'm working on a small program to take a large PDF, split it up (using iText), and add digital signature fields to each file. The splitting part works fine, but users with Adobe Reader can't sign the generated files until someone with Acrobat Professional opens them and enables them for Reader. Is there a way to do the enabling automati...

How to digitally sign PDF files with smartcards in .NET?

I have a smartcard that stores my digital certificate. When I plug it into my PC, the certificate shows up at the Windows certificate store, under IE > Tools > Internet Options > Content > Certificates. So... How can I use such certificate to sign a PDF file in .NET? ...

How to digitally sign PDF documents in a web application?

I'm building a web application that most allow the user to digitally sign PDF documents with certificates installed in the client machine. The document, once signed, should be posted back to the server, where it will store the signed version. The server is running Classic ASP/ASP.NET Where should I go? ...

SignedXml.CheckSignature Performance Issue

I have an issue with checking the signature of an XML file using .NET 3.5. It all works fine, but randomly the performance is poor. Sometimes it's instant and yet at other times it can take maybe 10 or 15 seconds to return. I've checked the machine and nothing is going on to affect it's overall performance, and it's the same on differen...

WCF Digital Signing, Message Inspectors

Hi dear stackoverflow visitors:) I have another question about wcf. Here is my scenario: I am using wsHttpBinding, security mode TransportWithMessageCredential On my wcf service, I intercept the outgoing message with dispatch message inspector, before the SOAP message is sent to my client. Using 3rd party APIs I digitally sign the SOA...

How to assign certificates to excel macros programmatically

Hi, I have developed some code which creates excel macros and each time after creation of new macro I want to digitally sign the macro programmatically. Can you let me know if there is any way using which I can create new digital certificates and assign those to macro programmatically. Thanks. ...

How to use Microsoft PKCS#9 SignerInfo attributes in a Java application?

In http://msdn.microsoft.com/en-us/library/system.security.cryptography.pkcs(VS.85).aspx we can see that the following digital signature attributes are defined: Pkcs9ContentType Pkcs9DocumentDescription Pkcs9DocumentName Pkcs9MessageDigest Pkcs9SigningTime Of those, Pkcs9DocumentDescription and Pkcs9DocumentName are not present in th...

Creating a plugin for Windows media player to play signed stream.

I currently have my own signature scheme that add a signature to a video file. I now want to develop a plugin for windows media player that will allow me to read this signed video file. It should perform the signature check etc and play the video file accordingly. Does anyone know where i should start, i have Visual Studio 2008 and the W...