CPDFPKCS12CertHelperGetCertificateWithPKCS12Path Method |
Create a certificate object based on the PKCS#12 certificate file path and password, retrieving information from the original certificate.
Before calling this method, it is recommended to first call the CheckPKCS12Password(String, String) method to verify the correctness of the password.
Namespace: ComPDFKit.DigitalSign
public static CPDFSignatureCertificate GetCertificateWithPKCS12Path( string filePath, string password )
When successful, returns an object of CPDFSignatureCertificate
Returns null in the following cases:
- Certificate not found at the specified path or incorrect password.
- Your license does not support this feature.