Click or drag to resize
Pdf Library for .NET

PdfDigitalCertificatesStoreGetCertificates(String, String) Method

Gets the certificates collection from the specified password protected PKCS#12 file.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntax
public static PdfDigitalCertificatesCollection 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. Pass null when the packet was created with a blank password.

Return Value

PdfDigitalCertificatesCollection
The certificates collection.
See Also