[640][app] 添加获取界面后的证书
This commit is contained in:
@@ -27,6 +27,14 @@ object CallerCloudCertManager {
|
||||
}
|
||||
|
||||
fun getDeviceCrtF(): String? {
|
||||
return certProviderApi.getDeviceCrtF()
|
||||
}
|
||||
|
||||
fun getRootCrtF(): String? {
|
||||
return certProviderApi.getRootCrtF()
|
||||
}
|
||||
|
||||
fun getDeviceCrtFDecode(): String? {
|
||||
var crt = certProviderApi.getDeviceCrtF()
|
||||
if (!crt.isNullOrEmpty()) {
|
||||
crt = String(Base64.decode(crt, Base64.NO_WRAP), StandardCharsets.UTF_8)
|
||||
@@ -34,7 +42,7 @@ object CallerCloudCertManager {
|
||||
return crt
|
||||
}
|
||||
|
||||
fun getRootCrtF(): String? {
|
||||
fun getRootCrtFDecode(): String? {
|
||||
var crt = certProviderApi.getRootCrtF()
|
||||
if (!crt.isNullOrEmpty()) {
|
||||
crt = String(Base64.decode(crt, Base64.NO_WRAP), StandardCharsets.UTF_8)
|
||||
|
||||
Reference in New Issue
Block a user