Operation get_token

The operation of obtaining encryption attributes. Return a public exponent, a modulus for RSA password encryption, and a session key.

Query parameters

ParameterValue
operationget_token
login<Username>

Response examples

JSON (recommended format, please set x-response-format=json header)

{
  "code": 0,
  "message": "",
  "data": {
    "token": "35E9F07B324E1B2AADAC9C2829373420F01E47E2BCD17BD12289E1448D41133BDB6DE4B3370E3E951C0596D4613E4ECFBB3BADB68904EF6DA6C6CC55F467568413102703F45E4FF182EBD282977C9F8B93C18343354ECCE4E35E6B1C0D0A36EFE7C7ED5E508934AF521D9000142FC5DD68EABAF9E6B6A2C818FDC2334E5895BD",
    "modulus": "a3faa98a87c009599edd3caafd3e5019ade263d6602a1d248e1b8ff832f07395ff094855277902ff3d61f3b4d1c0e313e3d9d591a7aaf50813e9f1a90e25e4ab3c6d5d743abca08be425d02335be3a9cab60f60aefca6ab4fd6ada3aabf7731665d0eb6b27afc633f2cb101a45e0ef2ec8a5d889b1bfde5d2812911fb0ee8493",
    "exponent": "10001",
    "rsa_public_key_pkcs1_pem": ""
  }
}

CSV

0;35E9F07B324E1B2AADAC9C2829373420F01E47E2BCD17BD12289E1448D41133BDB6DE4B3370E3E951C0596D4613E4ECFBB3BADB68904EF6DA6C6CC55F46756841310 2703F45E4FF182EBD282977C9F8B93C18343354ECCE4E35E6B1C0D0A36EFE7C7ED5E508934AF521D9000142FC5DD68EABAF9E6B6A2C818FDC2334E5895BD;a3faa98a8 7c009599edd3caafd3e5019ade263d6602a1d248e1b8ff832f07395ff094855277902ff3d61f3b4d1c0e313e3d9d591a7aaf50813e9f1a90e25e4ab3c6d5d743abca08 be425d02335be3a9cab60f60aefca6ab4fd6ada3aabf7731665d0eb6b27afc633f2cb101a45e0ef2ec8a5d889b1bfde5d2812911fb0ee8493;10001
rsa_public_key_pcks1_der_base64;MIGJAoGBAKP6qYqHwAlZnt08qv0+UBmt4mPWYCodJI4bj/gy8HOV/wlIVSd5Av89YfO00cDjE+PZ1ZGnqvUIE+nxqQ4l5Ks8bV10Or ygi+Ql0CM1vjqcq2D2Cu/KarT9ato6q/dzFmXQ62snr8Yz8ssQGkXg7y7IpdiJsb/eXSgSkR+w7oSTAgMBAAE=

Response in the CSV format

Format

Line No.Data format
10;<TOKEN>;<MODULUS>;<EXPONENT>
2<comment>;<rsa_public_key_der_base64>

Values

ValueDescription
<TOKEN>Session token.
<rsa_public_key_der_base64>RSA Public key (base64 encoded, PKCS#1 in DER format).
<MODULUS>Component of RSA key.
<EXPONENT>RSA Public key (base64 encoded, PKCS#1 in DER format).