Demo使用步骤: 1.将Assets目录下的证书文件进行替换 2.编写自定义的Retrofit接口 3.替换MainViewModel.class中testSSL方法中的IP地址以及retrofi接口反射实例
cdye0000 / android-https-based-on-mvvm Goto Github PK
View Code? Open in Web Editor NEWThis project forked from liuchongming74/android-https-based-on-mvvm
本示例包含了databinding基础示例,以及利用自制证书实现HTTPS双向认证
License: Apache License 2.0