(Optional) Configuring the Login Information Encryption Algorithm
API Function
This API is used to configure the encryption algorithm type for sensitive information before device connection. The service can select an appropriate encryption algorithm type based on the security level.
API Description
1 | public static boolean setAlgType (int type);
|
Class
BaseService
Parameter Description
| Parameter | Mandatory or Optional | Type | Description |
|---|---|---|---|
| type | Mandatory | int | Encryption algorithm type.
|
Return Value
| Return Value | Description |
|---|---|
| true | Success |
| false | Failure |
Example
1 2 3 4 | // Select an encryption algorithm type.
private void configAlgPara() {
BaseService. setAlgType (2);
}
|
Last Article: Configuring Login Parameters
Next Article: Connecting a Device
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.