Home
last modified time | relevance | path

Searched refs:generateCertificate (Results 1 – 19 of 19) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DAndroidKeyStoreTest.java766 private Certificate generateCertificate(byte[] fakeUser1) throws Exception { in generateCertificate() method in AndroidKeyStoreTest
768 return cf.generateCertificate(new ByteArrayInputStream(fakeUser1)); in generateCertificate()
774 generateCertificate(FAKE_EC_USER_1), generateCertificate(FAKE_EC_CA_1) in makeUserEcKey1()
781 generateCertificate(FAKE_RSA_USER_1), generateCertificate(FAKE_RSA_CA_1) in makeUserRsaKey1()
786 return new KeyStore.TrustedCertificateEntry(generateCertificate(FAKE_RSA_CA_1)); in makeCa1()
867 mKeyStore.setCertificateEntry(TEST_ALIAS_2, generateCertificate(FAKE_RSA_CA_1)); in testKeyStore_DeleteEntry_Unencrypted_Success()
870 mKeyStore.setCertificateEntry(TEST_ALIAS_3, generateCertificate(FAKE_RSA_CA_1)); in testKeyStore_DeleteEntry_Unencrypted_Success()
907 mKeyStore.setCertificateEntry(TEST_ALIAS_1, generateCertificate(FAKE_RSA_CA_1)); in testKeyStore_GetCertificate_Single_Unencrypted_Success()
919 Certificate actual = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_GetCertificate_Single_Unencrypted_Success()
934 Certificate cert = generateCertificate(FAKE_RSA_CA_1); in testKeyStore_GetCertificateAlias_CAEntry_Unencrypted_Success()
[all …]
DTestUtils.java417 .generateCertificate(in); in getRawResX509Certificate()
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/
DDirectDelegatedCertInstallerTest.java136 .generateCertificate(new ByteArrayInputStream(cert)); in testCaCertsOperations()
174 .generateCertificate( in testInstallKeyPair()
248 return certFactory.generateCertificate(new ByteArrayInputStream(certBuffer)); in readCertificate()
DCertInstallerReceiver.java129 .generateCertificate( in onReceive()
172 return certFactory.generateCertificate(new ByteArrayInputStream(certBuffer)); in readCertificate()
DCertSelectionDelegateTest.java153 return CertificateFactory.getInstance("X.509").generateCertificate( in getCertificate()
/cts/tests/tests/net/src/android/net/wifi/cts/
DWifiEnterpriseConfigTest.java731 X509Certificate cert1 = (X509Certificate) factory.generateCertificate( in testSettersAndGetters()
733 X509Certificate cert2 = (X509Certificate) factory.generateCertificate( in testSettersAndGetters()
742 X509Certificate clientCert = (X509Certificate) factory.generateCertificate( in testSettersAndGetters()
DFakeKeys.java242 return (X509Certificate) certFactory.generateCertificate(stream); in loadCertificate()
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/
DCertInstallDelegateTest.java164 Certificate certificate = CertificateFactory.getInstance("X.509").generateCertificate( in testCanAccessApis()
188 return certFactory.generateCertificate(new ByteArrayInputStream(certBuffer)); in readCertificate()
/cts/tests/security/src/android/keystore/cts/
DCertificateUtils.java77 certFactory.generateCertificate( in createCertificate()
/cts/hostsidetests/devicepolicy/app/ProfileOwner/src/com/android/cts/profileowner/
DAdminActionBookkeepingTest.java94 .generateCertificate(new ByteArrayInputStream(rawCert)); in testGetPolicyInstalledCaCerts()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewSslTest.java879 (X509Certificate) certFactory.generateCertificate( in getAcceptedIssuers()
902 X509Certificate cert = (X509Certificate) certFactory.generateCertificate( in testClientCertIssuersReceivedCorrectly()
1018 (X509Certificate) certFactory.generateCertificate( in onReceivedClientCertRequest()
1020 (X509Certificate) certFactory.generateCertificate( in onReceivedClientCertRequest()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DCaCertManagementTest.java185 return certFactory.generateCertificate(new ByteArrayInputStream(certBuffer)); in readCertificate()
DDelegatedCertInstallerTest.java192 .generateCertificate(new ByteArrayInputStream(cert)); in testCaCertsOperations()
DKeyManagementTest.java731 return CertificateFactory.getInstance("X.509").generateCertificate( in getCertificate()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DAdminActionBookkeepingTest.java191 .generateCertificate(new ByteArrayInputStream(rawCert)); in testGetPolicyInstalledCaCerts()
/cts/tests/tests/security/src/android/security/cts/
DX509CertChainBuildingTest.java168 return (X509Certificate) certFactory.generateCertificate(in); in loadCertificate()
DCertificateTest.java143 Certificate cert = certFactory.generateCertificate(fis); in loadCertsFromDisk()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DKeyChainTest.java236 chain[0] = f.generateCertificate(res.openRawResource(R.raw.usercert)); in doInBackground()
237 chain[1] = f.generateCertificate(res.openRawResource(R.raw.cacert)); in doInBackground()
/cts/tests/admin/src/android/admin/cts/
DDevicePolicyManagerTest.java983 Certificate cert = cf.generateCertificate( in testSetKeyPairCertificate_failIfNotProfileOwner()