In previous versions of SyncFusion (.NET Framework) the following code was used to retrieve a certificate from the Windows Certificate store and then use that to create a PdfCertificate with which a PDF could then be signed:
var cert = PdfCertificate.FindBySubject(StoreType.MY, "MyCertificateSubject");
var signature = new PdfSignature(myDocument, myPage, cert, myFieldName);
The FindBySubject method no longer exists on the PdfCertificate class in the NuGet package I'm using (Syncufions.Pdf.NETStandard v16.1.0.32) and instead the only way to create a PdfCertificate is to use the following code:
var cert = new PdfCertificate(myCertStream, myPassword);
This new approach requires me to store my certificate file (PFX) on the server which is a giant security no-no AND include my password either in the a configuration store or in the code which is another huge security no-no.
Are there any plans to restore the previous functionality wherein an X509 Certificate can be retrieved form the Windows Certificate store instead of having to passed in as a stream along with a password? If so, is there an estimated timeline / ETA or beta-program?