KSC Open API
Kaspersky Security Center API description
boolean CertUtils::IsEncrypted ( binary  cert)

Checking certificate is encrypted.

Parameters:
[in]cert(binary) Certificate in PKCS#12 format
Returns:
(boolean) true if encrypted