Gets the certificates collection from the specified PKCS#12 file. This method uses a NULL
password to get the certificates from packet.
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: EvoPdfAssembly: evohtmltopdf (in evohtmltopdf.dll) Version: 4.12.0.0
Syntax
| C# |
|---|
public static DigitalCertificatesCollection GetCertificates( string certFileName ) |
| Visual Basic |
|---|
Public Shared Function GetCertificates ( certFileName As String ) As DigitalCertificatesCollection |
| Visual C++ |
|---|
public: static DigitalCertificatesCollection^ GetCertificates( String^ certFileName ) |
Parameters
- certFileName
- Type: System..::..String
The path of the .pfx or .p12 file storing the certificates.
Return Value
Type: DigitalCertificatesCollectionThe certificates collection.