Winnovative Excel to PDF Converter

DigitalCertificatesStoreGetCertificates Method (String, String)

Winnovative Excel to PDF Converter Documentation
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.

Namespace:  Winnovative.ExcelToPdf
Assembly:  wnvexceltopdf (in wnvexceltopdf.dll) Version: 10.0.0.0
Syntax

public static DigitalCertificatesCollection GetCertificates(
	string certFileName,
	string password
)

Parameters

certFileName
Type: SystemString
The path of the .pfx or .p12 file storing the certificates.
password
Type: SystemString
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

Type: DigitalCertificatesCollection
The certificates collection.
See Also

Reference