Hello Camelot!
Just in case you're ever interested in this, note that the error mentioned above with the
With any other software signing certificate I am able to embed PKCS#10 in PKCS#7 files and sign them.
If you have time some day and want to take a look (I'd understand if you don't of course!), my problem would probably be solved if we could translate
This is what I tried unsuccessfully in my first post but unfortunately I don't know enough the internal structure of PKCS files to get it working.
It would be a good addition to the .NET library in my opinion :D
Best regards,
Jordan
Just in case you're ever interested in this, note that the error mentioned above with the
CSignerCertificate seems to be caused by a bug with my 3rd-party smart card CSP (which might never be fixed unfortunately...)With any other software signing certificate I am able to embed PKCS#10 in PKCS#7 files and sign them.
If you have time some day and want to take a look (I'd understand if you don't of course!), my problem would probably be solved if we could translate
IX509CertificateRequestPkcs7::InitializeFromInnerRequest into pure .NET code since I have no problem using the same smart card certificate when using the System.Security.Cryptography.Pkcs.CmsSigner class.This is what I tried unsuccessfully in my first post but unfortunately I don't know enough the internal structure of PKCS files to get it working.
It would be a good addition to the .NET library in my opinion :D
Best regards,
Jordan