KSC Open API  13.1
Kaspersky Security Center API description
params IWebSrvSettings::GetCertificateInfo ( )

GetCertificateInfo. Returns information about custom certificate.


If cert present then it return params with [["CERT_TYPE"] == 0 (PEM form)] and ["CERT_PUBLIC_PART"] fields.
In case if certificate not set, then it returns empty params with no any fields.

Returns:
Returned data format:
                "CERT_TYPE"         Certificate type (0 - PEM form, 1 - PKCS#12 form);
                "CERT_PUBLIC_PART"  Certificate's public part.