[Root] / Xceed.PdfLibrary.NET Assembly / Xceed.PdfLibrary.NET Namespace / PfxSigningCredential Class / PfxSigningCredential Constructor
The path where the pfx certificate can be found.
The password that will be used for this pfx certificate.
(Optional) The digest algorithm that will be used when signing the PdfDocument with the pfx certificate.
In This Topic
    PfxSigningCredential Constructor
    In This Topic
    The constructor for the credential class that will be used when signing a PdfDocument with a pfx certificate.
    Syntax
    public PfxSigningCredential( 
       string pfxPath,
       string pfxPassword,
       DigestAlgorithm digest
    )

    Parameters

    pfxPath
    The path where the pfx certificate can be found.
    pfxPassword
    The password that will be used for this pfx certificate.
    digest
    (Optional) The digest algorithm that will be used when signing the PdfDocument with the pfx certificate.
    Exceptions
    ExceptionDescription
    Thrown when the requested operation is invalid.
    Supported Frameworks

    .NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.

    .NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.

    See Also