KSC Open API
Kaspersky Security Center API description
|
List of Administration Server certificate attributes.
"CertSubject" | paramString | List of common names (CN) of subject. |
"CertSubjectAltNames" | paramString | List of subject alternative names (SAN). Name types vary by certificate authority and certificate type but commonly contain IP addresses, DNS names (and wildcards), and email addresses. |
"CertSerial" | paramString | Unique serial number issued by the certificate authority. For consistency, if this value is alphanumeric, it should be formatted without colons and uppercase characters. |
"CertSigAlgo" | paramString | ID for certificate signature algorithm. |
"CertSignature" | paramString | Certificate signature details. See example below or RFC 5280 for more information on this setting. |
"CertVersion" | paramInt | Version of x509 format. |
"CertIssuer" | paramString | Certificate issuer details. See example below or RFC 5280 for more information on this setting. |
"CertValidFrom" | paramString | Time at which the certificate is first considered valid, in UTC. |
"CertValidTo" | paramString | Time at which the certificate is no longer considered valid, in UTC. |
"CertPublicKey" | paramString | Certificate public key details. See example below or RFC 5280 for more information on this setting. |
"CertExtensions" | paramString | Certificate extensions. See RFC 5280 for more information about this. |
"CertSha1Thumbprint" | paramString | SHA-1 hash summ of whole certificate. |
"CertSha256Thumbprint" | paramString | SHA-256 hash summ of whole certificate. |
Example:
+--- (paramParams) +---CertExtensions = (paramString)": X509v3 Basic Constraints: critical CA:TRUE X509v3 Key Usage: Digital Signature, Key Encipherment, Certificate Sign, CRL Sign X509v3 Subject Alternative Name: DNS:server1.example.com, DNS:mail.example.com, DNS:www.example.com" +---CertIssuer = (\ref kloapi_type_paramString)"commonName = MyCommonName emailAddress = MyEmail@mail.com" +---CertPublicKey = (\ref kloapi_type_paramString)"Public-Key: (1024 bit) Modulus: 00:d9:43:99:65:2d:28:67:4a:e3:97:2f:15:1b:ac: 48:57:07:59:f5:b8:81:e9:6b:74:91:43:a8:0b:90: b7:8f:e4:83:04:02:a2:df:33:dc:f2:ad:75:21:a8: 71:dc:0f:b5:5e:72:78:0b:90:5f:b1:1b:f6:0c:61: eb:76:7f:e0:cc:ba:61:cf:eb:ee:35:41:24:68:17: 49:b4:ea:ff:0a:d6:11:65:20:e8:60:d9:22:65:c1: 1f:af:a0:80:b3:3c:a6:64:3a:24:94:1a:5e:ec:b0: de:11:45:08:ab:be:a9:b4:90:2a:94:50:6e:ca:7d: 3d:fd:d7:00:12:6c:ef:29:3f Exponent: 65537 (0x10001)" +---CertSerial = (\ref kloapi_type_paramString)"089E083D1A39DD08F1FF892C4F0D32CC" +---CertSigAlgo = (\ref kloapi_type_paramString)"sha1WithRSAEncryption" +---CertSignature = (\ref kloapi_type_paramString)"Signature Algorithm: sha1WithRSAEncryption b4:81:57:66:4a:84:01:6f:ae:15:2d:3e:f8:a1:d1:b6:ad:e1: 13:e2:3a:cd:7e:9c:48:d1:df:3e:c5:73:8a:2a:14:86:f1:e4: 9e:f6:83:f9:45:fe:39:9b:0e:7b:db:bc:53:59:ef:ae:03:b2: 48:c6:84:1e:de:83:39:78:43:a1:32:57:32:05:9a:dd:2d:0b: 5d:6e:ef:ce:86:06:c3:53:12:d3:27:fc:ee:14:2f:55:89:bc: e1:ac:c0:21:de:0f:c5:78:73:91:bb:37:9b:4b:2d:57:e9:27: 37:af:d8:e6:97:bb:20:ec:cd:05:b6:fe:43:ba:a1:49:a8:09: ad:ae" +---CertSubject = (\ref kloapi_type_paramString)"commonName = MyCommonName emailAddress = MyEmail@mail.com" +---CertSubjectAltNames = (\ref kloapi_type_paramString)"DNS:server1.example.com DNS:mail.example.com DNS:www.example.com" +---CertValidFrom = (\ref kloapi_type_paramString)"May 19 19:49:35 2017 GMT" +---CertValidTo = (\ref kloapi_type_paramString)"Sep 16 19:49:35 2017 GMT" +---CertVersion = (paramInt)3