Searched refs:FakeKeys (Results 1 – 12 of 12) sorted by relevance
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | WifiHotspot2Test.java | 294 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 …]
|
D | FakeKeys.java | 33 public class FakeKeys { class
|
D | ConfigParserTest.java | 101 credential.setCaCertificate(FakeKeys.CA_CERT0); in generateConfigurationFromProfile()
|
D | WifiEnterpriseConfigTest.java | 928 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()
|
D | WifiManagerTest.java | 4300 wifiConfiguration.enterpriseConfig.setCaCertificate(FakeKeys.CA_CERT0); in testSecureEnterpriseConfigurationsAccepted()
|
/cts/tests/tests/wifi/src/android/net/wifi/passpoint/cts/ |
D | PasspointConfigurationTest.java | 21 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/ |
D | FakeKeys.java | 20 public class FakeKeys { class
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | CaCertManagementTest.java | 36 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;
|
D | CredentialManagementAppTest.java | 46 import com.android.compatibility.common.util.FakeKeys; 78 getPrivateKey(FakeKeys.FAKE_RSA_1.privateKey, "RSA"); 80 getCertificate(FakeKeys.FAKE_RSA_1.caCertificate);
|
D | KeyManagementTest.java | 42 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/ |
D | CertSelectionDelegateTest.java | 35 import com.android.compatibility.common.util.FakeKeys.FAKE_RSA_1;
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | KeyManagementTest.java | 49 import com.android.compatibility.common.util.FakeKeys.FAKE_RSA_1;
|