Home
last modified time | relevance | path

Searched refs:FakeKeys (Results 1 – 12 of 12) sorted by relevance

/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiHotspot2Test.java294 credential.setCaCertificate(FakeKeys.CA_CERT0); in testCredentialGetCertificate()
296 assertEquals(FakeKeys.CA_CERT0, credential.getCaCertificate()); in testCredentialGetCertificate()
311 X509Certificate[] certificates = new X509Certificate[]{FakeKeys.CLIENT_CERT}; in testCredentialClientCertificateChain()
330 credential.setClientPrivateKey(FakeKeys.RSA_KEY1); in testCredentialSetGetClientPrivateKey()
332 assertEquals(FakeKeys.RSA_KEY1, credential.getClientPrivateKey()); in testCredentialSetGetClientPrivateKey()
348 credential.setClientPrivateKey(FakeKeys.RSA_KEY1); in testCredentialGetClientPrivateKey()
350 assertEquals(FakeKeys.RSA_KEY1, credential.getClientPrivateKey()); in testCredentialGetClientPrivateKey()
426 FakeKeys.CLIENT_CERT.getEncoded())); in createCredentialWithCertificateCredential()
428 FakeKeys.CLIENT_CERT}, in createCredentialWithCertificateCredential()
429 FakeKeys.RSA_KEY1, FakeKeys.CA_CERT0, in createCredentialWithCertificateCredential()
[all …]
DFakeKeys.java33 public class FakeKeys { class
DConfigParserTest.java101 credential.setCaCertificate(FakeKeys.CA_CERT0); in generateConfigurationFromProfile()
DWifiEnterpriseConfigTest.java928 noMatchConfig.setCaCertificate(FakeKeys.CA_CERT0); in testIsEnterpriseConfigServerCertNotEnabled()
967 Phase2.NONE, FakeKeys.CA_CERT0, null, DOM_SUBJECT_MATCH, null); in testIsEnterpriseConfigServerCertEnabled()
972 Phase2.NONE, FakeKeys.CA_CERT0, null, null, ALT_SUBJECT_MATCH); in testIsEnterpriseConfigServerCertEnabled()
DWifiManagerTest.java4300 wifiConfiguration.enterpriseConfig.setCaCertificate(FakeKeys.CA_CERT0); in testSecureEnterpriseConfigurationsAccepted()
/cts/tests/tests/wifi/src/android/net/wifi/passpoint/cts/
DPasspointConfigurationTest.java21 import android.net.wifi.cts.FakeKeys;
204 return createCredential(userCred, null, null, null, null, FakeKeys.CA_CERT0); in createCredentialWithUserCredential()
246 MessageDigest.getInstance("SHA-256").digest(FakeKeys.CLIENT_CERT.getEncoded())); in createCredentialWithCertificateCredential()
249 .digest(FakeKeys.CLIENT_SUITE_B_RSA3072_CERT.getEncoded())); in createCredentialWithCertificateCredential()
251 return createCredential(null, certCred, null, new X509Certificate[]{FakeKeys.CLIENT_CERT}, in createCredentialWithCertificateCredential()
252 FakeKeys.RSA_KEY1, useCaCert0 ? FakeKeys.CA_CERT0 : FakeKeys.CA_CERT1); in createCredentialWithCertificateCredential()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DFakeKeys.java20 public class FakeKeys { class
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DCaCertManagementTest.java36 import com.android.compatibility.common.util.FakeKeys;
65 public static final byte[] CA_CERT_1 = FakeKeys.FAKE_RSA_1.caCertificate;
66 public static final byte[] CA_CERT_2 = FakeKeys.FAKE_DSA_1.caCertificate;
DCredentialManagementAppTest.java46 import com.android.compatibility.common.util.FakeKeys;
78 getPrivateKey(FakeKeys.FAKE_RSA_1.privateKey, "RSA");
80 getCertificate(FakeKeys.FAKE_RSA_1.caCertificate);
DKeyManagementTest.java42 import com.android.compatibility.common.util.FakeKeys;
82 generatePrivateKey(FakeKeys.FAKE_RSA_1.privateKey, RSA);
84 generateCertificate(FakeKeys.FAKE_RSA_1.caCertificate);
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/
DCertSelectionDelegateTest.java35 import com.android.compatibility.common.util.FakeKeys.FAKE_RSA_1;
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DKeyManagementTest.java49 import com.android.compatibility.common.util.FakeKeys.FAKE_RSA_1;