Home
last modified time | relevance | path

Searched defs:cert (Results 1 – 9 of 9) sorted by relevance

/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DKeyManagementTest.java85 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); in testCanInstallValidRsaKeypair() local
86 assertTrue(mDevicePolicyManager.installKeyPair(getWho(), privKey, cert, alias)); in testCanInstallValidRsaKeypair() local
97 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); in testNullKeyParamsFailPredictably() local
99 mDevicePolicyManager.installKeyPair(getWho(), null, cert, alias); in testNullKeyParamsFailPredictably() local
114 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); in testNullAdminComponentIsDenied() local
128 private static Certificate getCertificate(byte[] cert) throws CertificateException { in getCertificate()
DCaCertManagementTest.java73 Certificate cert = readCertificate(certBuffer); in containsCertificate() local
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DDelegatedCertInstallerTest.java242 private void installCaCert(byte[] cert) { in installCaCert()
250 private void removeCaCert(byte[] cert) { in removeCaCert()
258 private void verifyCaCert(byte[] cert) { in verifyCaCert()
282 private void installKeyPair(String key, String cert, String alias) { in installKeyPair()
/cts/tests/tests/net/src/android/net/http/cts/
DX509TrustManagerExtensionsTest.java54 X509Certificate cert = (X509Certificate)cf.generateCertificate( in testIsUserAddedCert() local
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/
DCertInstallerActivity.java124 String cert = intent.getStringExtra(EXTRA_CERT_DATA); in onCreate() local
164 Certificate cert = readCertificate(certBuffer); in containsCertificate() local
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewSslTest.java504 SslCertificate cert = mWebView.getCertificate(); in testInsecureSiteClearsCertificate() local
542 SslCertificate cert = mWebView.getCertificate(); in testSecureSiteSetsCertificate() local
891 X509Certificate cert = (X509Certificate) certFactory.generateCertificate( in testClientCertIssuersReceivedCorrectly() local
/cts/tests/tests/keystore/src/android/keystore/cts/
DAndroidKeyStoreTest.java922 Certificate cert = generateCertificate(FAKE_RSA_CA_1); in testKeyStore_GetCertificateAlias_CAEntry_Unencrypted_Success() local
1097 byte[] cert, byte[] ca) throws Exception { in assertPrivateKeyEntryEquals()
1285 final Certificate cert = generateCertificate(FAKE_RSA_CA_1); in testKeyStore_SetCertificate_CAExists_Overwrite_Unencrypted_Success() local
1300 final Certificate cert = generateCertificate(FAKE_RSA_CA_1); in testKeyStore_SetCertificate_PrivateKeyExists_Unencrypted_Failure() local
1770 Certificate cert = generateCertificate(FAKE_RSA_USER_1); in testKeyStore_SetKeyEntry_ReplacedChain_DifferentPrivateKey_Unencrypted_Failure() local
DKeyPairGeneratorTest.java1292 X509Certificate cert = (X509Certificate) mKeyStore.getCertificate(alias); in assertGeneratedKeyPairAndSelfSignedCertificate() local
1301 Arrays.asList(mKeyStore.getCertificateChain(alias)), cert); in assertGeneratedKeyPairAndSelfSignedCertificate() local
DTestUtils.java143 Certificate cert; in assertKeyStoreKeyPair() local