Home
last modified time | relevance | path

Searched refs:getCertificate (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyStoreTest.java274 getPrivateKey().getCertificate()); in populate()
372 setCertificate(ks, alias, getPrivateKey().getCertificate()); in setCertificate()
398 assertEquals(getPrivateKey().getCertificate(), privateKey.getCertificate()); in assertPrivateKey()
419 assertEquals(getPrivateKey().getCertificate(), actual); in assertCertificate()
423 assertEquals(getPrivateKey2().getCertificate(), actual); in assertCertificate2()
428 assertEquals(getPrivateKey().getCertificate(), in assertCertificate()
704 keyStore.getCertificate(null); in test_KeyStore_getCertificate()
714 keyStore.getCertificate(null); in test_KeyStore_getCertificate()
722 assertNull(keyStore.getCertificate("")); in test_KeyStore_getCertificate()
726 assertCertificate(keyStore.getCertificate(ALIAS_CERTIFICATE)); in test_KeyStore_getCertificate()
[all …]
DAndroidKeyStoreTest.java902 mKeyStore.getCertificate(TEST_ALIAS_2)); in testKeyStore_GetCertificate_Single_Unencrypted_Success()
904 Certificate retrieved = mKeyStore.getCertificate(TEST_ALIAS_1); in testKeyStore_GetCertificate_Single_Unencrypted_Success()
918 mKeyStore.getCertificate(TEST_ALIAS_1)); in testKeyStore_GetCertificate_NonExist_Unencrypted_Failure()
1120 final PublicKey pubKey = keyEntry.getCertificate().getPublicKey(); in assertPrivateKeyEntryEquals()
1143 keyEntry.getCertificate()); in assertPrivateKeyEntryEquals()
1273 Certificate retrieved = mKeyStore.getCertificate(TEST_ALIAS_1); in testKeyStore_SetCertificate_CA_Unencrypted_Success()
1739 privEntry.getCertificate(), chain); in testKeyStore_SetKeyEntry_ReplacedChain_Unencrypted_Success()
1891 PublicKey pubKey = privEntry.getCertificate().getPublicKey(); in testKeyStore_KeyOperations_Wrap_Unencrypted_Success()
1940 PublicKey publicKey = ks.getCertificate(alias).getPublicKey(); in testKeyStore_Encrypting_RSA_NONE_NOPADDING()
1969 PublicKey publicKey = mKeyStore.getCertificate(TEST_ALIAS_2).getPublicKey(); in testKeyStore_PrivateKeyEntry_RSA_PublicKeyWorksWithCrypto()
[all …]
DTestUtils.java146 cert = keyStore.getCertificate(alias); in assertKeyStoreKeyPair()
154 assertEquals(cert, privEntry.getCertificate()); in assertKeyStoreKeyPair()
413 keyStore.getCertificate(alias).getPublicKey(), in importIntoAndroidKeyStore()
DKeyPairGeneratorTest.java1319 X509Certificate cert = (X509Certificate) mKeyStore.getCertificate(alias); in assertGeneratedKeyPairAndSelfSignedCertificate()
1332 assertSelfSignedCertificateSignatureVerifies(mKeyStore.getCertificate(alias)); in assertSelfSignedCertificateSignatureVerifies()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DKeyManagementTest.java89 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); in testCanInstallAndRemoveValidRsaKeypair()
113 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); in testCanInstallWithAutomaticAccess()
172 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); in testGrantsDoNotPersistBetweenInstallations()
199 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); in testNullKeyParamsFailPredictably()
215 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); in testNullAdminComponentIsDenied()
238 private static Certificate getCertificate(byte[] cert) throws CertificateException { in getCertificate() method in KeyManagementTest
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewSslTest.java504 SslCertificate cert = mWebView.getCertificate(); in testInsecureSiteClearsCertificate()
513 assertNull(mWebView.getCertificate()); in testInsecureSiteClearsCertificate()
534 assertNull(mWebView.getCertificate()); in testSecureSiteSetsCertificate()
542 SslCertificate cert = mWebView.getCertificate(); in testSecureSiteSetsCertificate()
/cts/tests/tests/security/src/android/security/cts/
DCertificateTest.java91 X509Certificate certificate = (X509Certificate) keyStore.getCertificate(alias); in getDeviceCertificates()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex32607 public java.security.cert.Certificate getCertificate()
32718 public final java.security.cert.Certificate getCertificate(
35740 public java.security.cert.X509Certificate getCertificate()
76195 private static java.security.cert.Certificate getCertificate(
76198 private static java.security.cert.Certificate getCertificate(
Dclasses.out.dex46341 android.net.http.SslCertificate getCertificate()
47692 public android.net.http.SslCertificate getCertificate()
96791 public android.net.http.SslCertificate getCertificate()