ImportCert Method
Imports a certificate.
Object Oriented Interface
public function doImportCert($certbytes, $password);
Procedural Interface
secureblackboxlite_certificatemanager_do_importcert($res, $certbytes, $password);
Remarks
Use this method to load a certificate from a byte array. Provide the password via the Password parameter. The Password parameter is optional. If it is omitted and it is later discovered that the key is password-encrypted, the PasswordNeeded event will be fired to request it. This method supports certificates in DER, PEM, PFX, and SPC formats.