Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DCaCertManagementTest.java36 import static com.android.cts.deviceowner.FakeKeys.FAKE_RSA_1;
54 assertUninstalled(FAKE_RSA_1.caCertificate); in testCanInstallAndUninstallACaCert()
57 assertTrue(mDevicePolicyManager.installCaCert(getWho(), FAKE_RSA_1.caCertificate)); in testCanInstallAndUninstallACaCert()
58 assertInstalled(FAKE_RSA_1.caCertificate); in testCanInstallAndUninstallACaCert()
61 mDevicePolicyManager.uninstallCaCert(getWho(), FAKE_RSA_1.caCertificate); in testCanInstallAndUninstallACaCert()
62 assertUninstalled(FAKE_RSA_1.caCertificate); in testCanInstallAndUninstallACaCert()
71 assertTrue(mDevicePolicyManager.installCaCert(getWho(), FAKE_RSA_1.caCertificate)); in testUninstallationIsSelective()
75 assertInstalled(FAKE_RSA_1.caCertificate); in testUninstallationIsSelective()
78 mDevicePolicyManager.uninstallCaCert(getWho(), FAKE_RSA_1.caCertificate); in testUninstallationIsSelective()
87 assertTrue(mDevicePolicyManager.installCaCert(getWho(), FAKE_RSA_1.caCertificate)); in testCanUninstallAllUserCaCerts()
[all …]
DKeyManagementTest.java19 import static com.android.cts.deviceowner.FakeKeys.FAKE_RSA_1;
88 final PrivateKey privKey = getPrivateKey(FAKE_RSA_1.privateKey , "RSA"); in testCanInstallAndRemoveValidRsaKeypair()
89 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); in testCanInstallAndRemoveValidRsaKeypair()
112 final PrivateKey privKey = getPrivateKey(FAKE_RSA_1.privateKey , "RSA"); in testCanInstallWithAutomaticAccess()
113 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); in testCanInstallWithAutomaticAccess()
171 final PrivateKey privKey = getPrivateKey(FAKE_RSA_1.privateKey , "RSA"); in testGrantsDoNotPersistBetweenInstallations()
172 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); in testGrantsDoNotPersistBetweenInstallations()
198 final PrivateKey privKey = getPrivateKey(FAKE_RSA_1.privateKey, "RSA"); in testNullKeyParamsFailPredictably()
199 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); in testNullKeyParamsFailPredictably()
214 final PrivateKey privKey = getPrivateKey(FAKE_RSA_1.privateKey, "RSA"); in testNullAdminComponentIsDenied()
[all …]
DFakeKeys.java31 public static class FAKE_RSA_1 { class in FakeKeys