Searched refs:generateCertificate (Results 1 – 17 of 17) sorted by relevance
765 private Certificate generateCertificate(byte[] fakeUser1) throws Exception { in generateCertificate() method in AndroidKeyStoreTest767 return cf.generateCertificate(new ByteArrayInputStream(fakeUser1)); in generateCertificate()773 generateCertificate(FAKE_EC_USER_1), generateCertificate(FAKE_EC_CA_1) in makeUserEcKey1()780 generateCertificate(FAKE_RSA_USER_1), generateCertificate(FAKE_RSA_CA_1) in makeUserRsaKey1()785 return new KeyStore.TrustedCertificateEntry(generateCertificate(FAKE_RSA_CA_1)); in makeCa1()866 mKeyStore.setCertificateEntry(TEST_ALIAS_2, generateCertificate(FAKE_RSA_CA_1)); in testKeyStore_DeleteEntry_Unencrypted_Success()869 mKeyStore.setCertificateEntry(TEST_ALIAS_3, generateCertificate(FAKE_RSA_CA_1)); in testKeyStore_DeleteEntry_Unencrypted_Success()906 mKeyStore.setCertificateEntry(TEST_ALIAS_1, generateCertificate(FAKE_RSA_CA_1)); in testKeyStore_GetCertificate_Single_Unencrypted_Success()918 Certificate actual = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_GetCertificate_Single_Unencrypted_Success()933 Certificate cert = generateCertificate(FAKE_RSA_CA_1); in testKeyStore_GetCertificateAlias_CAEntry_Unencrypted_Success()[all …]
417 .generateCertificate(in); in getRawResX509Certificate()
164 Certificate certificate = CertificateFactory.getInstance("X.509").generateCertificate( in testCanAccessApis()188 return certFactory.generateCertificate(new ByteArrayInputStream(certBuffer)); in readCertificate()
728 X509Certificate cert1 = (X509Certificate) factory.generateCertificate( in testSettersAndGetters()730 X509Certificate cert2 = (X509Certificate) factory.generateCertificate( in testSettersAndGetters()739 X509Certificate clientCert = (X509Certificate) factory.generateCertificate( in testSettersAndGetters()
242 return (X509Certificate) certFactory.generateCertificate(stream); in loadCertificate()
129 .generateCertificate( in onReceive()172 return certFactory.generateCertificate(new ByteArrayInputStream(certBuffer)); in readCertificate()
94 .generateCertificate(new ByteArrayInputStream(rawCert)); in testGetPolicyInstalledCaCerts()
77 certFactory.generateCertificate( in createCertificate()
869 (X509Certificate) certFactory.generateCertificate( in getAcceptedIssuers()892 X509Certificate cert = (X509Certificate) certFactory.generateCertificate( in testClientCertIssuersReceivedCorrectly()1008 (X509Certificate) certFactory.generateCertificate( in onReceivedClientCertRequest()1010 (X509Certificate) certFactory.generateCertificate( in onReceivedClientCertRequest()
170 return certFactory.generateCertificate(new ByteArrayInputStream(certBuffer)); in readCertificate()
188 .generateCertificate(new ByteArrayInputStream(cert)); in testCaCertsOperations()
634 return CertificateFactory.getInstance("X.509").generateCertificate( in getCertificate()
191 .generateCertificate(new ByteArrayInputStream(rawCert)); in testGetPolicyInstalledCaCerts()
168 return (X509Certificate) certFactory.generateCertificate(in); in loadCertificate()
143 Certificate cert = certFactory.generateCertificate(fis); in loadCertsFromDisk()
233 chain[0] = f.generateCertificate(res.openRawResource(R.raw.usercert)); in doInBackground()234 chain[1] = f.generateCertificate(res.openRawResource(R.raw.cacert)); in doInBackground()
964 Certificate cert = cf.generateCertificate( in testSetKeyPairCertificate_failIfNotProfileOwner()