|
KSC Open API
Kaspersky Security Center API description
|
Certificate parameters may include: When using the PEM, the following fields are required:
"CPublic" [paramBinary], certificate body (public part)
"CPrivate" [paramBinary], encrypted, private key
"CPassword" [paramBinary], optional, encrypted, password
When using the PKCS12, the following fields are required:
"CPKCS12" [paramBinary], PKCS12 container
"CPassword" [paramBinary], encrypted, password
Deprecated. When using the old style PEM, the following fields are required:
"CERT_TYPE" [paramLong], certificate type (0 - PEM, 1 - PKCS12)
"CERT_PUBLIC_PART" [paramBinary], public key
"CERT_PRIVATE_PART" [paramBinary], unencrypted, private key
"CERT_PASSWORD" [paramString], optional, unencrypted, password
Deprecated. When using the old style PKCS12, the following fields are required:
"CERT_TYPE" [paramLong], certificate type (0 - PEM, 1 - PKCS12)
"CERT_PUBLIC_PART" [paramBinary], PKCS12 container
"CERT_PASSWORD" [paramString], unencrypted, password
Deprecated. When using the old style 2nd PEM, the following fields are required:
"CERT_PUB" [paramBinary], public key
"CERT_PRV" [paramBinary], unencrypted, private key
"CERT_PWD" [paramString], optional, encrypted, password
Deprecated. When using the old style 2nd PKCS12, the following fields are required:
"CERT_PKCS12" [paramBinary], PKCS12 container
"CERT_PWD" [paramString], encrypted, password
Note that a certificate can only be in one format: PEM or PKCS12.