Home
last modified time | relevance | path

Searched defs:cert (Results 1 – 25 of 56) sorted by relevance

123

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DCertificateEventInfoTest.java36 X509Certificate cert = mock(X509Certificate.class); in testGetMethods() local
38 assertEquals(mCertificateEventInfo.getCert(), cert); in testGetMethods() local
55 X509Certificate cert = mock(X509Certificate.class); in testCertHashNullInitializer() local
/packages/modules/adb/client/pairing/tests/
Dpairing_connection_test.cpp80 std::vector<uint8_t> cert; in initPairing() local
100 std::vector<uint8_t> cert; in createServer() local
113 std::vector<uint8_t> cert; in createClient() local
195 void* opaque) { in TEST_F()
220 void* opaque) { in TEST_F()
280 auto client_callback = [&](const PeerInfo* peer_info, const std::vector<uint8_t>* cert, in TEST_F()
281 void* opaque) { in TEST_F()
334 auto callback = [&](const PeerInfo* peer_info, const std::vector<uint8_t>* cert, in TEST_F()
335 void* opaque) { in TEST_F()
374 void* opaque) { in TEST_F()
[all …]
Dpairing_server.cpp133 PairingServerImpl::PairingServerImpl(const Data& pswd, const PeerInfo& peer_info, const Data& cert, in PairingServerImpl()
316 [fd](const PeerInfo* peer_info, const Data* cert, void* opaque) { in connectionEventsWorker()
397 const Data& cert, const Data& priv_key, in create()
/packages/apps/KeyChain/robotests/src/com/android/keychain/
DShadowTrustedCertificateStore.java38 public void installCertificate(X509Certificate cert) throws IOException, CertificateException { in installCertificate()
43 public String getCertificateAlias(Certificate cert) { in getCertificateAlias()
/packages/apps/Car/DebuggingRestrictionController/app/src/main/java/com/android/car/debuggingrestrictioncontroller/auth/
DSelfSignedTrustManager.java48 X509Certificate cert = in SelfSignedTrustManager() local
52 keyStore.setCertificateEntry(UUID.randomUUID().toString(), cert); in SelfSignedTrustManager() local
/packages/modules/adb/tls/
Dtls_connection.cpp85 TlsConnectionImpl::TlsConnectionImpl(Role role, std::string_view cert, std::string_view priv_key, in TlsConnectionImpl()
155 bool TlsConnectionImpl::AddTrustedCertificate(std::string_view cert) { in AddTrustedCertificate()
228 for (auto const& cert : known_certificates_) { in DoHandshake() local
364 std::string_view cert, in Create()
373 bool TlsConnection::SetCertAndKey(SSL* ssl, std::string_view cert, std::string_view priv_key) { in SetCertAndKey()
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/grpc/
DTranscriptionClientFactory.java52 private final String cert; field in TranscriptionClientFactory
141 private final String cert; field in TranscriptionClientFactory.Interceptor
154 public Interceptor(String packageName, String cert, String apiKey, String authToken) { in Interceptor()
/packages/modules/adb/pairing_connection/tests/
Dpairing_client.cpp92 const Data& cert, const Data& priv_key) { in CreatePairingConnection()
99 PairingClientImpl::PairingClientImpl(const Data& pswd, const PeerInfo& peer_info, const Data& cert, in PairingClientImpl()
192 const Data& cert, const Data& priv_key) { in Create()
/packages/modules/Bluetooth/system/blueberry/tests/topshim/lib/
Dtopshim_base_test.py134 def dump_crashes_core(dut, cert, rootcanal_running, rootcanal_process, rootcanal_logpath): argument
193 def cert(self): member in TopshimBaseTest
/packages/modules/Virtualization/service_vm/requests/src/
Dlib.rs22 mod cert; module
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/utils/
DIkeCertUtilsTest.java73 Certificate cert = IkeCertUtils.certificateFromByteArray(certBytes); in testCreateCertificateFromByteArray() local
/packages/modules/adb/client/pairing/
Dpairing_client.cpp87 PairingClientImpl::PairingClientImpl(const Data& pswd, const PeerInfo& peer_info, const Data& cert, in PairingClientImpl()
164 const Data& cert, const Data& priv_key) { in Create()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DWfaCertBuilder.java54 Certificate cert = certFactory.generateCertificate(fis); in loadCertsFromDisk() local
/packages/modules/Wifi/service/java/com/android/server/wifi/
DCertificateEventInfo.java28 CertificateEventInfo(@NonNull X509Certificate cert, @NonNull String certHash) { in CertificateEventInfo()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCredentialHelper.java175 X509Certificate cert = (X509Certificate) in parseCert() local
190 private boolean isCa(X509Certificate cert) { in isCa()
441 X509Certificate cert = (X509Certificate) c; in installFrom() local
/packages/apps/Settings/src/com/android/settings/utils/
DAndroidKeystoreAliasLoader.java84 final Certificate[] cert = keyStore.getCertificateChain(alias); in AndroidKeystoreAliasLoader() local
/packages/apps/Car/DebuggingRestrictionController/server/functions/
Dindex.js6 function cert_to_x5c(cert) { argument
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeAuthDigitalSignPayloadTest.java236 X509Certificate cert = CertUtils.createCertFromPemFile("end-cert-small.pem"); in checkVerifyInboundSignature() local
265 X509Certificate cert = CertUtils.createCertFromPemFile("end-cert-a.pem"); in testVerifyInboundSignatureFail() local
DIkeCertX509CertPayloadTest.java106 X509Certificate cert = pemStringToCertificate(CLIENT_END_CERTIFICATE); in testEncodeX509Certificate() local
/packages/modules/adb/crypto/
Dx509_generator.cpp39 bool add_ext(X509* cert, int nid, const char* value) { in add_ext()
/packages/modules/Wifi/framework/java/android/net/wifi/
DParcelUtil.java98 public static void writeCertificate(Parcel dest, X509Certificate cert) { in writeCertificate()
/packages/apps/Settings/src/com/android/settings/wifi/details2/
DCertificateDetailsPreferenceController.kt109 val cert = keyStore.getCertificate(certificateAliases) in <lambda>() constant
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProvisioningTestUtil.java134 Certificate cert = certFactory.generateCertificate(bis); in getOsuCertsForTest() local
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/utils/
DX509Utils.java82 public static byte[] getAndFormatRawPublicKey(X509Certificate cert) { in getAndFormatRawPublicKey()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DIkev2VpnTest.java750 public final X509Certificate cert; field in Ikev2VpnTest.CertificateAndKey
753 CertificateAndKey(X509Certificate cert, PrivateKey key) { in CertificateAndKey()
780 final X509Certificate cert = certGen.generate(keyPair.getPrivate(), "AndroidOpenSSL"); in generateRandomCertAndKeyPair() local

123