Searched refs:generateCertificate (Results 1 – 12 of 12) sorted by relevance
756 private Certificate generateCertificate(byte[] fakeUser1) throws Exception { in generateCertificate() method in AndroidKeyStoreTest758 return cf.generateCertificate(new ByteArrayInputStream(fakeUser1)); in generateCertificate()764 generateCertificate(FAKE_EC_USER_1), generateCertificate(FAKE_EC_CA_1) in makeUserEcKey1()771 generateCertificate(FAKE_RSA_USER_1), generateCertificate(FAKE_RSA_CA_1) in makeUserRsaKey1()776 return new KeyStore.TrustedCertificateEntry(generateCertificate(FAKE_RSA_CA_1)); in makeCa1()857 mKeyStore.setCertificateEntry(TEST_ALIAS_2, generateCertificate(FAKE_RSA_CA_1)); in testKeyStore_DeleteEntry_Unencrypted_Success()860 mKeyStore.setCertificateEntry(TEST_ALIAS_3, generateCertificate(FAKE_RSA_CA_1)); in testKeyStore_DeleteEntry_Unencrypted_Success()897 mKeyStore.setCertificateEntry(TEST_ALIAS_1, generateCertificate(FAKE_RSA_CA_1)); in testKeyStore_GetCertificate_Single_Unencrypted_Success()909 Certificate actual = f.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1)); in testKeyStore_GetCertificate_Single_Unencrypted_Success()924 Certificate cert = generateCertificate(FAKE_RSA_CA_1); in testKeyStore_GetCertificateAlias_CAEntry_Unencrypted_Success()[all …]
398 .generateCertificate(in); in getRawResX509Certificate()
129 .generateCertificate( in onReceive()172 return certFactory.generateCertificate(new ByteArrayInputStream(certBuffer)); in readCertificate()
485 X509Certificate cert1 = (X509Certificate) factory.generateCertificate( in testSettersAndGetters()487 X509Certificate cert2 = (X509Certificate) factory.generateCertificate( in testSettersAndGetters()
868 (X509Certificate) certFactory.generateCertificate( in getAcceptedIssuers()891 X509Certificate cert = (X509Certificate) certFactory.generateCertificate( in testClientCertIssuersReceivedCorrectly()1007 (X509Certificate) certFactory.generateCertificate( in onReceivedClientCertRequest()1009 (X509Certificate) certFactory.generateCertificate( in onReceivedClientCertRequest()
170 return certFactory.generateCertificate(new ByteArrayInputStream(certBuffer)); in readCertificate()
239 return CertificateFactory.getInstance("X.509").generateCertificate( in getCertificate()
166 return (X509Certificate) certFactory.generateCertificate(in); in loadCertificate()
268 (X509Certificate) certFactory.generateCertificate( in serverBind()
270 (X509Certificate) certFactory.generateCertificate( in serverBind()
233 chain[0] = f.generateCertificate(res.openRawResource(R.raw.usercert)); in doInBackground()234 chain[1] = f.generateCertificate(res.openRawResource(R.raw.cacert)); in doInBackground()
35041 public final java.security.cert.Certificate generateCertificate(107258 public org.bouncycastle.x509.X509AttributeCertificate generateCertificate(107262 public org.bouncycastle.x509.X509AttributeCertificate generateCertificate(