FRAMES | NO FRAMES Description | Parameters | Response | Example
URL:http://server:port/arcgis/admin/publicKey
HTTP Method:GET
Parent Resource: Site

Description

This resource returns the public key of the server that can be used by a client application (or script) to encrypt data sent to the server using the RSA algorithm for public-key encryption. In addition to encrypting the sensitive parameters, the client is also required to send to the server an additional flag encrypted with value set to true.

Note:

Parameters

Parameter Description
f The response format. The default response format is html.
Values: html | json

Response Format

{
	"publicKey": "<public key>",
	"modulus": "<modulus>"
}
			

Example

{
	"publicKey": "10001",
	"modulus": "a032f331acfa9d17ab5e30f75b2a311010cc01d4e8482d6a91abd7409a941099"
}