I've been looking around, and see that visual studio c++ has some "native" tools to remove a digital signatures.
http://msdn.microsoft.com/en-us/library/windows/desktop/ms680214(v=vs.85).aspx
Of course I am doing this with documents, specifically for pdf files so I don't know how that function would work since it seems intended for images.
If it can remove it, could it also read it and return the signature? Right now I am using c# and wanted to have the program actually capture the digital signature so it can be verified, but one step at a time. Everything I read about System.Security.Cryptography.X509Certificates seems to indicate that it can only do any of its functions once the files are assigned X509Certificates related classes.
I've also never imported c++ code into c#, but I know it is possible. http://social.msdn.microsoft.com/Forums/en-US/f18d1d1c-0d14-4ff2-8244-337f58818ef9/how-to-use-c-code-in-c?forum=vssmartdevicesvbcs