DigitalCertificatesStoreGetCertificates(Byte, String) Method

Gets the certificates collection from the specified password protected PKCS#12 file given as binary data. 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.

Definition

Namespace: Winnovative
Assembly: WnvHtmlToPdf_NetCore (in WnvHtmlToPdf_NetCore.dll) Version: 18.0.0
C#
public static DigitalCertificatesCollection GetCertificates(
	byte[] pfxData,
	string password
)

Parameters

pfxData  Byte
The PFX file data
password  String
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

DigitalCertificatesCollection
The certificates collection.

See Also