KSC Open API  13.1
Kaspersky Security Center API description
params CertPoolCtrl2::GetCertificateInfoDetails ( int  nVServerId,
int  nFunction 
)

Returns information about certificate from server's certificates pool.

Parameters:
nVServerId[in] (int) Virtual server id (-1 for current, 0 for main server)
nFunction[in] (int) Certificate function (see "KLCERTP::CertificateFunction enum values")
Returns:
Returned data format:
                "KLCERTP_NOT_AFTER_DATE" [paramDateTime], optional, certificate expiration date