AddCertificate Method
Imports a certificate to the KMIP server.
Object Oriented Interface
public function doAddCertificate($certpassword, $addprivatekey, $id);
Procedural Interface
secureblackbox_kmipclient_do_addcertificate($res, $certpassword, $addprivatekey, $id);
Remarks
Call this method to import a certificate to the KMIP server. Provide the key via InputFile or InputStream property.
Use the Id parameter to supply a unique certificate object identifier. AddPrivateKey instructs the component to import the private key as well. The method returns the actual ID of the new object, which may differ from the supplied one.