Get Dr.Web Server Encryption Public Keys

Request Parameters

This request does not contain any parameters.

 

Request Example

https://192.168.1.1:9081/api/server/public-key.ds

XML and JSON response structure examples are described below.

 

XML Response Structure

<drweb-es-api api_version="4.3.0" timestamp="1587043465" server="192.168.1.1" srv_version="12.00.0.201909260" status="true">
  <keys>
     <key id="f001bf9c-7149-40db-b104-0227ae882b66" active="true">
        <value>
           <![CDATA[1234567890ABCDEFGHIJKLMNOPQRSTVUWXYZ1234567890ABCD]]>
        </value>

        <file>
           <![CDATA[; Dr.Web (R) Public key file
                    ; Do not edit!
                    f001bf9c-7149-40db-b104-0227ae882b66
                    1234567890ABCDEFGHIJKLMNOPQRSTVUWXYZ1234567890ABCD
                    ; ***EOF***]]>
        </file>
     </key>
  </keys>
</drweb-es-api>

 

Description of XML Response Parameters

The <keys /> element contains information on all public encryption keys of the Dr.Web Server.

The <key /> element contains information on a specific public encryption key.

The <key /> element attributes:

Attribute

Description

id

Identifier of a public encryption key

active

Activity of a public encryption key:

true—the key is currently active,

false—the key is inactive

The nested elements of <key /> element:

Element

Description

<value />

The public encryption key itself

<file />

Content of the public encryption key file

 

JSON Response Structure

{ "head": {
    "status": true,

    "timestamp": 1587043476,

    "api": {
      "version": 40300,
      "versionString": 4.3.0},

    "server": {
      "name": "192.168.1.1",

      "version": "12.00.0.201909260",
      "uuid": "b35d999d-9212-481d-af8c-8551c4113383"}},

"data": {
    "keys": [
      {"uuid": "f001bf9c-7149-40db-b104-0227ae882b66",

        "value": "1234567890ABCDEFGHIJKLMNOPQRSTVUWXYZ1234567890ABCD",

        "file": "; Dr.Web (R) Public key file\n
                 ; Do not edit!\f001bf9c-7149-40db-b104-0227ae882b66\n
                 1234567890ABCDEFGHIJKLMNOPQRSTVUWXYZ1234567890ABCD\n
                ; ***EOF***\n",
        "active": true}]}}

 

Description of JSON Response Parameters

The keys array contains information on all public encryption keys of the Dr.Web Server.

Every object in the keys array contains information about a specific license key.

The keys array objects elements:

Field name

Description

uuid

Identifier of a public encryption key

value

The public encryption key itself

file

Full content of the public encryption key file

active

Activity of a public encryption key:

true—the key is currently active,

false—the key is inactive