- Development Integration
- /
- SDK
- /
- Java
- /
User authentication module
- /
Others
- /
- Get server public information
¶ Get server public information
Update time: 2025-07-23 07:34:21
The endpoint can get the server's public information, such as RSA256 public key, SM2 public key, GenAuth service version number, etc.
¶ Method Name
AuthenticationClient.getSystemInfo
¶ Request Parameters
| Name | Type | Is it required | Default Value | Description | Example Value |
|---|
¶ Request Response
Type: SystemInfoResp
| Name | Type | Description |
|---|---|---|
| rsa | SystmeInfoRSAConfig | RSA256 encryption configuration information |
| sm2 | SystmeInfoSM2Config | National SM2 encryption configuration information |
| version | SystmeInfoVersion | National SM2 encryption configuration information |
| publicIps | array | GenAuth service external IP list |
Example Results:
{
"rsa": {
"publicKey": "xxxxxxxxxxxxxxxxxxxxxx"
},
"sm2": {
"publicKey": "xxxxxxxxxxxxxxxxxxxxxx"
},
"version": {
"server": "2.0.0",
"console": "2.0.0",
"login": "2.0.0"
}
}
¶ Data Structure
¶ SystmeInfoRSAConfig
| Name | Type | Is it required | Description | Example Value |
|---|---|---|---|---|
| publicKey | string | Yes | RSA256 public key | xxxxxxxxxxxxxxxxxxxxxx |
¶ SystmeInfoSM2Config
| Name | Type | Is it required | Description | Example Value |
|---|---|---|---|---|
| publicKey | string | Yes | SM2 public key | xxxxxxxxxxxxxxxxxxxxxx |
¶ SystmeInfoVersion
| Name | Type | Is it required | Description | Example Value |
|---|---|---|---|---|
| server | string | yes | GenAuth core service version number | 2.0.0 |
| console | string | yes | GenAuth console version number | 2.0.0 |
| login | string | yes | GenAuth hosted login page version number | 2.0.0 |
