Gets the certificates collection from the specified PKCS #12 PFX file.
| C# | Visual Basic | Visual 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 )
- certFileName (String)
- The file name of the .pfx or .p12 file storing the certificates.
- password (String)
- A string 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 is blank pass an empty string or null for the value of this parameter
The certificates collection.