KSC Open API  13.1
Kaspersky Security Center API description
array CertUtils::GetCertificateAttributes ( binary  pCertificateFileChunk)

Extract certificates attributes from file.

Extract certificates attributes from file in human-readable format. If there is more than one certificate (for example, certifiate file format allows this), an array of attributes params is returned for each found certificate accordingly.

Parameters:
pCertificateFileChunk(binary) Certificate file chunk in any supported format: DER, PEM or PKCS#12
Returns:
(array) Array of params with certificate attributes , see List of Administration Server certificate attributes
Exceptions:
Throwsexception in case of error.