Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DAndroidKeyStoreTest.java756 private Certificate generateCertificate(byte[] fakeUser1) throws Exception { in generateCertificate() method in AndroidKeyStoreTest
758 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 …]
DTestUtils.java398 .generateCertificate(in); in getRawResX509Certificate()
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/
DCertInstallerReceiver.java129 .generateCertificate( in onReceive()
172 return certFactory.generateCertificate(new ByteArrayInputStream(certBuffer)); in readCertificate()
/cts/tests/tests/net/src/android/net/wifi/cts/
DWifiEnterpriseConfigTest.java485 X509Certificate cert1 = (X509Certificate) factory.generateCertificate( in testSettersAndGetters()
487 X509Certificate cert2 = (X509Certificate) factory.generateCertificate( in testSettersAndGetters()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewSslTest.java868 (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()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DCaCertManagementTest.java170 return certFactory.generateCertificate(new ByteArrayInputStream(certBuffer)); in readCertificate()
DKeyManagementTest.java239 return CertificateFactory.getInstance("X.509").generateCertificate( in getCertificate()
/cts/tests/tests/security/src/android/security/cts/
DX509CertChainBuildingTest.java166 return (X509Certificate) certFactory.generateCertificate(in); in loadCertificate()
DOpenSSLEarlyCCSTest.java268 (X509Certificate) certFactory.generateCertificate( in serverBind()
DOpenSSLHeartbleedTest.java270 (X509Certificate) certFactory.generateCertificate( in serverBind()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DKeyChainTest.java233 chain[0] = f.generateCertificate(res.openRawResource(R.raw.usercert)); in doInBackground()
234 chain[1] = f.generateCertificate(res.openRawResource(R.raw.cacert)); in doInBackground()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex35041 public final java.security.cert.Certificate generateCertificate(
107258 public org.bouncycastle.x509.X509AttributeCertificate generateCertificate(
107262 public org.bouncycastle.x509.X509AttributeCertificate generateCertificate(