ExpertPdf Html to Pdf Converter Library
GetCertificates Method (certFileName, password)
NamespacesExpertPdf.HtmlToPdf.PdfDocumentDigitalCertificatesStoreGetCertificates(String, String)
ExpertPdf Html to Pdf Converter Library
Gets the certificates collection from the specified password protected PKCS#12 file. A PKCS#12 file stores both the private and the public key and such a file can be for example a file with extension .pfx generated by IIS from the SSL certificate installed for a website.
Declaration Syntax
C#Visual BasicVisual C++
public static DigitalCertificatesCollection GetCertificates(
	string certFileName,
	string password
)
Public Shared Function GetCertificates ( 
	certFileName As String,
	password As String
) As DigitalCertificatesCollection
public:
static DigitalCertificatesCollection^ GetCertificates(
	String^ certFileName, 
	String^ password
)
Parameters
certFileName (String)
The path of the .pfx or .p12 file storing the certificates.
password (String)
The password used to decrypt and verify the PFX packet. This password must be exactly the same as the password that was used to encrypt the packet. If the password used to encrypt the packet was blank, pass NULL for the value of this parameter.
Return Value
DigitalCertificatesCollection
The certificates collection.

Assembly: ExpertPdf.HtmlToPdf (Module: ExpertPdf.HtmlToPdf.dll) Version: 9.2.0.25824 (9.2.0.0)