Home
last modified time | relevance | path

Searched refs:TEST_CA (Results 1 – 8 of 8) sorted by relevance

/cts/hostsidetests/devicepolicy/app/common/src/com/android/cts/devicepolicy/
DTestCertificates.java45 public static final String TEST_CA = field in TestCertificates
127 final byte[] rawCert = TEST_CA.getBytes(); in caCertFromString()
133 return caCertFromString(TEST_CA); in getCaCert()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DAdminActionBookkeepingTest.java47 mDevicePolicyManager.uninstallCaCert(getWho(), TestCertificates.TEST_CA.getBytes()); in tearDown()
146 final byte[] rawCert = TestCertificates.TEST_CA.getBytes(); in testGetPolicyInstalledCaCerts()
DDevicePolicySafetyCheckerIntegrationTest.java70 private static final String TEST_CA = field in DevicePolicySafetyCheckerIntegrationTest
226 dpm.uninstallCaCert(admin, TEST_CA.getBytes());
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39706/src/android/security/cts/CVE_2021_39706/
DDeviceTest.java56 public static final String TEST_CA = "-----BEGIN CERTIFICATE-----\n" field in DeviceTest
121 final byte[] cert = TEST_CA.getBytes(); in testCredentialReset()
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/
DDirectDelegatedCertInstallerTest.java19 import static com.android.cts.devicepolicy.TestCertificates.TEST_CA;
93 mDpm.uninstallCaCert(null, TEST_CA.getBytes()); in tearDown()
99 final byte[] cert = TEST_CA.getBytes(); in testCaCertsOperations()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DDelegatedCertInstallerTest.java114 TestCertificates.TEST_CA.getBytes()); in tearDown()
123 final byte[] cert = TestCertificates.TEST_CA.getBytes(); in testCaCertsOperations()
DSecurityLoggingTest.java68 import static com.android.cts.devicepolicy.TestCertificates.TEST_CA;
694 mDevicePolicyManager.installCaCert(ADMIN_RECEIVER_COMPONENT, TEST_CA.getBytes())); in installCaCert()
705 mDevicePolicyManager.uninstallCaCert(ADMIN_RECEIVER_COMPONENT, TEST_CA.getBytes()); in uninstallCaCert()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DCommandReceiverActivity.java176 private static final String TEST_CA = field in CommandReceiverActivity
503 mDpm.installCaCert(mAdmin, TEST_CA.getBytes()); in onCreate()
509 mDpm.uninstallCaCert(mAdmin, TEST_CA.getBytes()); in onCreate()
740 mDpm.uninstallCaCert(mAdmin, TEST_CA.getBytes()); in clearAllPoliciesAndRestrictions()