/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | AndroidKeyStoreTest.java | 766 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 …]
|
D | TestUtils.java | 419 .generateCertificate(in); in getRawResX509Certificate()
|
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/ |
D | DirectDelegatedCertInstallerTest.java | 136 .generateCertificate(new ByteArrayInputStream(cert)); in testCaCertsOperations() 174 .generateCertificate( in testInstallKeyPair() 248 return certFactory.generateCertificate(new ByteArrayInputStream(certBuffer)); in readCertificate()
|
D | CertInstallerReceiver.java | 129 .generateCertificate( in onReceive() 172 return certFactory.generateCertificate(new ByteArrayInputStream(certBuffer)); in readCertificate()
|
D | CertSelectionDelegateTest.java | 153 return CertificateFactory.getInstance("X.509").generateCertificate( in getCertificate()
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | WifiEnterpriseConfigTest.java | 734 X509Certificate cert1 = (X509Certificate) factory.generateCertificate( in testSettersAndGetters() 736 X509Certificate cert2 = (X509Certificate) factory.generateCertificate( in testSettersAndGetters() 745 X509Certificate clientCert = (X509Certificate) factory.generateCertificate( in testSettersAndGetters()
|
D | FakeKeys.java | 242 return (X509Certificate) certFactory.generateCertificate(stream); in loadCertificate()
|
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/ |
D | CertInstallDelegateTest.java | 164 Certificate certificate = CertificateFactory.getInstance("X.509").generateCertificate( in testCanAccessApis() 188 return certFactory.generateCertificate(new ByteArrayInputStream(certBuffer)); in readCertificate()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | ImsiEncryptionInfoTest.java | 80 return cf.generateCertificate(istream).getPublicKey(); in createPublicKey()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebViewSslTest.java | 879 (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/tests/security/src/android/keystore/cts/ |
D | CertificateUtils.java | 77 certFactory.generateCertificate( in createCertificate()
|
/cts/hostsidetests/devicepolicy/app/ProfileOwner/src/com/android/cts/profileowner/ |
D | AdminActionBookkeepingTest.java | 94 .generateCertificate(new ByteArrayInputStream(rawCert)); in testGetPolicyInstalledCaCerts()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | CaCertManagementTest.java | 185 return certFactory.generateCertificate(new ByteArrayInputStream(certBuffer)); in readCertificate()
|
D | DelegatedCertInstallerTest.java | 192 .generateCertificate(new ByteArrayInputStream(cert)); in testCaCertsOperations()
|
D | KeyManagementTest.java | 731 return CertificateFactory.getInstance("X.509").generateCertificate( in getCertificate()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | AdminActionBookkeepingTest.java | 223 .generateCertificate(new ByteArrayInputStream(rawCert)); in testGetPolicyInstalledCaCerts()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | X509CertChainBuildingTest.java | 168 return (X509Certificate) certFactory.generateCertificate(in); in loadCertificate()
|
D | CertificateTest.java | 143 Certificate cert = certFactory.generateCertificate(fis); in loadCertsFromDisk()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | KeyChainTest.java | 236 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/tests/identity/src/android/security/identity/cts/ |
D | Util.java | 619 ret.add((X509Certificate) factory.generateCertificate(certBais)); in coseSign1GetX5Chain() 628 ret.add((X509Certificate) factory.generateCertificate(certBais)); in coseSign1GetX5Chain() 917 X509Certificate result = (X509Certificate) cf.generateCertificate(bais); in signPublicKeyWithPrivateKey()
|
/cts/tests/admin/src/android/admin/cts/ |
D | DevicePolicyManagerTest.java | 982 Certificate cert = cf.generateCertificate( in testSetKeyPairCertificate_failIfNotProfileOwner()
|