This class is an instantion of the Command class, that executes a command pertaining to fetching SSL certificate information, in the default case from the database. This class should only be instantiated by dispatchMBAPI() found in include/heart/mbapi/mbapi.php. Something similar to the following XML should be passed to dispatchMBAPI() when you want to call the GetCerts command:
<mbapi> <command><!-- None --></command> <showXMLHeader><!-- None --></showXMLHeader> <params> <certID><!-- int --></certID> <packageID><!-- int --></packageID> <clientID><!-- int --></clientID> <orID><!-- int --></orID> <rID><!-- int --></rID> <orStatus><!-- int --></orStatus> <orSuccesscode><!-- string --></orSuccesscode> <orErrorcode><!-- string --></orErrorcode> <CSRDomainName><!-- string --></CSRDomainName> <certTimestamp><!-- int --></certTimestamp> <certTimestampGreaterThan><!-- int --></certTimestampGreaterThan> <certTimestampLessThan><!-- int --></certTimestampLessThan> <certTimestampGreatest><!-- int --></certTimestampGreatest> <certTimestampLeast><!-- int --></certTimestampLeast> <orStartstamp><!-- int --></orStartstamp> <orStartstampGreaterThan><!-- int --></orStartstampGreaterThan> <orStartstampLessThan><!-- int --></orStartstampLessThan> <orStartstampGreatest><!-- int --></orStartstampGreatest> <orStartstampLeast><!-- int --></orStartstampLeast> <orSubmitstamp><!-- int --></orSubmitstamp> <orSubmitstampGreaterThan><!-- int --></orSubmitstampGreaterThan> <orSubmitstampLessThan><!-- int --></orSubmitstampLessThan> <orSubmitstampGreatest><!-- int --></orSubmitstampGreatest> <orSubmitstampLeast><!-- int --></orSubmitstampLeast> <CSRStartDate><!-- int --></CSRStartDate> <CSRStartDateGreaterThan><!-- int --></CSRStartDateGreaterThan> <CSRStartDateLessThan><!-- int --></CSRStartDateLessThan> <CSRStartDateGreatest><!-- int --></CSRStartDateGreatest> <CSRStartDateLeast><!-- int --></CSRStartDateLeast> <CSREndDate><!-- int --></CSREndDate> <CSREndDateGreaterThan><!-- int --></CSREndDateGreaterThan> <CSREndDateLessThan><!-- int --></CSREndDateLessThan> <CSREndDateGreatest><!-- int --></CSREndDateGreatest> <CSREndDateLeast><!-- int --></CSREndDateLeast> <getProductPackage><!-- int --></getProductPackage> <getClientData><!-- int --></getClientData> <sortDir><!-- None --></sortDir> <sortColumn><!-- None --></sortColumn> <recordOffset><!-- None --></recordOffset> <numRecords><!-- None --></numRecords> </params> </mbapi>
None
mbapi
command
showXMLHeader
params
certID
The ID of the cert item to fetch. This will always select at most 1 cert.
packageID
The ID of the package that the cert is associated with.
clientID
The client ID of the certs that you wish to fetch.
orID
The order ID of the cert that you wish to fetch. This will always select at most 1 cert.
rID
The SSLFactory reseller ID used to order this cert. In most instances, this will be the same for all certs in a ModernBill install so has limited search utility.
orStatus
The status of the certs that you wish to fetch.
orSuccesscode
The textual success code for the cert order.
orErrorcode
The textual error code for the cert order.
CSRDomainName
The domain name on the CSR that is used to generate the cert.
certTimestamp
The exact UNIX timestamp for which a cert in the result set was created.
certTimestampGreaterThan
The minimum UNIX timestamp for which a cert in the result set was created
certTimestampLessThan
The maximum UNIX timestamp for which a cert in the result set was created.
certTimestampGreatest
The highest UNIX timestamp for a cert in the result set was created. This will return all dates less than or equal to this timestamp.
certTimestampLeast
The lowest UNIX timestamp for a cert in the result set was created. This will return all dates greater than or equal to this timestamp.
orStartstamp
The exact UNIX timestamp for the datetime a cert order was started.
orStartstampGreaterThan
The minimum UNIX timestamp for the datetime a cert order was started.
orStartstampLessThan
The maximum UNIX timestamp for the datetime a cert order was started.
orStartstampGreatest
The highest UNIX timestamp for the datetime a cert order was started. This will return all dates less than or equal to this timestamp.
orStartstampLeast
The lowest UNIX timestamp for the datetime a cert order was started. This will return all dates greater than or equal to this timestamp.
orSubmitstamp
The exact UNIX timestamp for the datetime a cert order was submitted.
orSubmitstampGreaterThan
The minimum UNIX timestamp for the datetime a cert order was submitted.
orSubmitstampLessThan
The maximum UNIX timestamp for the datetime a cert order was submitted.
orSubmitstampGreatest
The highest UNIX timestamp for the datetime a cert order was submitted. This will return all dates less than or equal to this timestamp.
orSubmitstampLeast
The lowest UNIX timestamp for the datetime a cert order was submitted. This will return all dates greater than or equal to this timestamp.
CSRStartDate
The exact UNIX timestamp for the start date of the cert's validity.
CSRStartDateGreaterThan
The minimum UNIX timestamp for the start date of the cert's validity.
CSRStartDateLessThan
The maximum UNIX timestamp for the start date of the cert's validity.
CSRStartDateGreatest
The highest UNIX timestamp for the start date of the cert's validity. This will return all dates less than or equal to this timestamp.
CSRStartDateLeast
The lowest UNIX timestamp for the start date of the cert's validity. This will return all dates greater than or equal to this timestamp.
CSREndDate
The exact UNIX timestamp for the end date of the cert's validity.
CSREndDateGreaterThan
The minimum UNIX timestamp for the end date of the cert's validity.
CSREndDateLessThan
The maximum UNIX timestamp for the end date of the cert's validity.
CSREndDateGreatest
The highest UNIX timestamp for the end date of the cert's validity. This will return all dates less than or equal to this timestamp.
CSREndDateLeast
The lowest UNIX timestamp for the end date of the cert's validity. This will return all dates greater than or equal to this timestamp.
getProductPackage
If 1 will retrieve addititional product information.
getClientData
If 1 will retrieve the client information.
sortDir
sortColumn
recordOffset
numRecords