|
PdfDigitalCertificatesStoreGetCertificates Method (String) |
Gets the certificates collection from the specified PKCS#12 file.
Namespace:
SelectPdf
Assembly:
Select.Pdf (in Select.Pdf.dll) Version: 24.1
Syntax public static PdfDigitalCertificatesCollection GetCertificates(
string certFileName
)
Public Shared Function GetCertificates (
certFileName As String
) As PdfDigitalCertificatesCollection
Parameters
- certFileName
- Type: SystemString
The path of the .pfx or .p12 file storing the certificates.
Return Value
Type:
PdfDigitalCertificatesCollectionThe certificates collection.
Remarks
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.
See Also