Help Center/ Meeting/ Client SDK Reference/ Android SDK/ APIs/ Basic Settings/ Setting Certificate Verification
Updated on 2026-01-28 GMT+08:00
Setting Certificate Verification
API Description
This API is used to set certificate verification information.
Precautions
sdkConfig takes effect only when this configuration is passed during SDK initialization.
Sample Code
sdkConfig.setServerCaHandle(new IServerCaHandle() {
@Override
public boolean isVerified() {
// Whether to enable certificate verification
return DemoUtil.needCustom(NeedCustomType.SITE_CA_CHECK);
}
@Override
public String getCaPath() {
// Certificate path
return isVerified() ? FileUtil.getFileDirPath(DemoUtil.getApplication()) : "";
}
}); Parent topic: Basic Settings
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot