Home
last modified time | relevance | path

Searched refs:caCertificate (Results 1 – 3 of 3) sorted by relevance

/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DCaCertManagementTest.java35 assertFalse(hasCaCertInstalled(FAKE_RSA_1.caCertificate)); in testCanInstallAndUninstallACaCert()
36 assertFalse(hasCaCertInstalled(FAKE_DSA_1.caCertificate)); in testCanInstallAndUninstallACaCert()
37 assertTrue(mDevicePolicyManager.installCaCert(getWho(), FAKE_RSA_1.caCertificate)); in testCanInstallAndUninstallACaCert()
38 assertTrue(hasCaCertInstalled(FAKE_RSA_1.caCertificate)); in testCanInstallAndUninstallACaCert()
39 assertFalse(hasCaCertInstalled(FAKE_DSA_1.caCertificate)); in testCanInstallAndUninstallACaCert()
40 mDevicePolicyManager.uninstallCaCert(getWho(), FAKE_RSA_1.caCertificate); in testCanInstallAndUninstallACaCert()
41 assertFalse(hasCaCertInstalled(FAKE_RSA_1.caCertificate)); in testCanInstallAndUninstallACaCert()
42 assertFalse(hasCaCertInstalled(FAKE_DSA_1.caCertificate)); in testCanInstallAndUninstallACaCert()
46 assertTrue(mDevicePolicyManager.installCaCert(getWho(), FAKE_RSA_1.caCertificate)); in testUninstallationIsSelective()
47 assertTrue(mDevicePolicyManager.installCaCert(getWho(), FAKE_DSA_1.caCertificate)); in testUninstallationIsSelective()
[all …]
DFakeKeys.java151 public static final byte[] caCertificate = { field in FakeKeys.FAKE_RSA_1
357 public static final byte[] caCertificate = new byte[] { field in FakeKeys.FAKE_DSA_1
DKeyManagementTest.java85 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); in testCanInstallValidRsaKeypair()
97 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); in testNullKeyParamsFailPredictably()
114 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); in testNullAdminComponentIsDenied()