Home
last modified time | relevance | path

Searched refs:certificateFormat (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/libs/binder/tests/
DRpcTlsUtilsTest.cpp86 auto [keyFormat, certificateFormat] = info.param; in PrintParamInfo()
87 return "key_" + PrintToString(keyFormat) + "_cert_" + PrintToString(certificateFormat); in PrintParamInfo()
92 auto [keyFormat, certificateFormat] = GetParam(); in TEST_P()
102 auto certData = serializeCertificate(cert.get(), certificateFormat); in TEST_P()
103 auto deserializedCert = deserializeCertificate(certData, certificateFormat); in TEST_P()
DbinderRpcTest.cpp1494 auto [socketType, rpcSecurity, certificateFormat, serverVersion] = param; in setUp()
1676 auto [socketType, rpcSecurity, certificateFormat, serverVersion] = param; in setUp()
1734 std::optional<RpcCertificateFormat> certificateFormat, const A& a, in trust() argument
1737 LOG_ALWAYS_FATAL_IF(!certificateFormat.has_value()); in trust()
1738 auto bCert = b->getCtx()->getCertificate(*certificateFormat); in trust()
1739 return a->getCertVerifier()->addTrustedPeerCertificate(*certificateFormat, bCert); in trust()
1750 auto [socketType, rpcSecurity, certificateFormat, serverVersion] = info.param; in PrintParamInfo()
1752 if (certificateFormat.has_value()) ret += "_" + PrintToString(*certificateFormat); in PrintParamInfo()
1779 auto [socketType, rpcSecurity, certificateFormat, serverVersion] = GetParam(); in trust()
1781 return RpcTransportTestUtils::trust(rpcSecurity, certificateFormat, a, b); in trust()
[all …]