Searched refs:RpcCertificateFormat (Results 1 – 18 of 18) sorted by relevance
/frameworks/native/libs/binder/include/binder/ |
D | RpcCertificateFormat.h | 25 enum class RpcCertificateFormat { enum 30 static inline std::string PrintToString(RpcCertificateFormat format) { in PrintToString() 32 case RpcCertificateFormat::PEM: in PrintToString() 34 case RpcCertificateFormat::DER: in PrintToString()
|
D | RpcTransport.h | 144 RpcCertificateFormat format) const = 0;
|
D | RpcServer.h | 206 LIBBINDER_EXPORTED std::vector<uint8_t> getCertificate(RpcCertificateFormat);
|
D | RpcSession.h | 178 LIBBINDER_EXPORTED std::vector<uint8_t> getCertificate(RpcCertificateFormat);
|
/frameworks/native/libs/binder/ |
D | RpcTlsUtils.cpp | 69 RpcCertificateFormat format) { in deserializeCertificate() 71 case RpcCertificateFormat::PEM: in deserializeCertificate() 73 case RpcCertificateFormat::DER: in deserializeCertificate() 79 std::vector<uint8_t> serializeCertificate(X509* x509, RpcCertificateFormat format) { in serializeCertificate() 81 case RpcCertificateFormat::PEM: in serializeCertificate() 83 case RpcCertificateFormat::DER: in serializeCertificate()
|
D | RpcTransportRaw.cpp | 99 std::vector<uint8_t> getCertificate(RpcCertificateFormat) const override { return {}; } in getCertificate()
|
D | RpcTransportTipcAndroid.cpp | 214 std::vector<uint8_t> getCertificate(RpcCertificateFormat) const override { return {}; } in getCertificate()
|
D | RpcTransportTls.cpp | 458 std::vector<uint8_t> getCertificate(RpcCertificateFormat) const override; 467 std::vector<uint8_t> RpcTransportCtxTls::getCertificate(RpcCertificateFormat format) const { in getCertificate()
|
D | RpcServer.cpp | 184 std::vector<uint8_t> RpcServer::getCertificate(RpcCertificateFormat format) { in getCertificate()
|
D | RpcSession.cpp | 859 std::vector<uint8_t> RpcSession::getCertificate(RpcCertificateFormat format) { in getCertificate()
|
/frameworks/native/libs/binder/tests/ |
D | RpcTlsUtilsTest.cpp | 59 class RpcTlsUtilsCertTest : public testing::TestWithParam<RpcCertificateFormat> { 79 testing::Values(RpcCertificateFormat::PEM, RpcCertificateFormat::DER), 83 : public testing::TestWithParam<std::tuple<RpcKeyFormat, RpcCertificateFormat>> { 110 testing::Values(RpcCertificateFormat::PEM, 111 RpcCertificateFormat::DER)),
|
D | binderRpcTestService.cpp | 161 serverInfo.cert.data = server->getCertificate(RpcCertificateFormat::PEM); in main() 168 certVerifier->addTrustedPeerCertificate(RpcCertificateFormat::PEM, in main()
|
D | RpcTlsTestUtils.cpp | 106 status_t RpcCertificateVerifierSimple::addTrustedPeerCertificate(RpcCertificateFormat format, in addTrustedPeerCertificate()
|
D | binderRpcTest.cpp | 336 parcelableCert.data = session->getCertificate(RpcCertificateFormat::PEM); in createRpcTestSocketServerProcessEtc() 349 certVerifier->addTrustedPeerCertificate(RpcCertificateFormat::PEM, serverCert)); in createRpcTestSocketServerProcessEtc() 1480 std::tuple<SocketType, RpcSecurity, std::optional<RpcCertificateFormat>, uint32_t>; 1734 std::optional<RpcCertificateFormat> certificateFormat, const A& a, in trust() 1766 ret.emplace_back(socketType, rpcSecurity, RpcCertificateFormat::PEM, in getRpcTranportTestParams() 1768 ret.emplace_back(socketType, rpcSecurity, RpcCertificateFormat::DER, in getRpcTranportTestParams() 2026 std::tuple<SocketType, RpcCertificateFormat, RpcKeyFormat, uint32_t>> { 2080 testing::Values(RpcCertificateFormat::PEM, RpcCertificateFormat::DER),
|
D | binderRpcBenchmark.cpp | 50 using android::RpcCertificateFormat;
|
/frameworks/native/libs/binder/include_tls/binder/ |
D | RpcTlsUtils.h | 31 RpcCertificateFormat format); 33 std::vector<uint8_t> serializeCertificate(X509* x509, RpcCertificateFormat format);
|
/frameworks/native/libs/binder/tests/include_tls_test_utils/binder/ |
D | RpcTlsTestUtils.h | 73 [[nodiscard]] status_t addTrustedPeerCertificate(RpcCertificateFormat format,
|
/frameworks/native/libs/binder/trusty/ |
D | RpcTransportTipcTrusty.cpp | 283 std::vector<uint8_t> getCertificate(RpcCertificateFormat) const override { return {}; } in getCertificate()
|