PdfRpt.FluentInterface.SignedFileBuilder.WithCertificateFile C# (CSharp) Method

WithCertificateFile() public method

Sets the CertificateFile's info.
public WithCertificateFile ( bool appendSignature, string pfxPassword, string pfxPath ) : void
appendSignature bool If sets to true the signature and all the other content will be added as a new revision thus not invalidating existing signatures. Set it to true if you don't want to lose the EncryptionOptions.
pfxPassword string Certificate file's password
pfxPath string Certificate file's path
return void
        public void WithCertificateFile(bool appendSignature, string pfxPassword, string pfxPath)
        {
            _digitalSignature.CertificateFile = new CertificateFile
            {
                AppendSignature = appendSignature,
                PfxPassword = pfxPassword,
                PfxPath = pfxPath
            };
        }