-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
Summary
It would be really great if there was an overload of SecurityUtil.SignFile(
| public static void SignFile(X509Certificate2 cert, Uri timestampUrl, string path) |
Background and Motivation
We're using the code in an automated system that runs code in parallel and therefore cannot reliably add the certificate chain to the Windows certificate store to allow correct resolution and adding of the chain certificates to the signature. Therefore we would appreciate an overload that allows us to explicitly pass in the whole certificate chain.
This is kind of similar to the fact that there are already overloads that take a certificate thumbprint (and therefore go through the Windows certificate store) and ones that explicitly take a X509Certificate2.
Proposed Feature
Add an overload that allows passing in a certificate chain explicitly (probably as X509Certificate2Collection?).
Alternative Designs
No response