Searched refs:getCertificate (Results 1 – 7 of 7) sorted by relevance
277 getPrivateKey().getCertificate()); in populate()375 setCertificate(ks, alias, getPrivateKey().getCertificate()); in setCertificate()401 assertEquals(getPrivateKey().getCertificate(), privateKey.getCertificate()); in assertPrivateKey()422 assertEquals(getPrivateKey().getCertificate(), actual); in assertCertificate()426 assertEquals(getPrivateKey2().getCertificate(), actual); in assertCertificate2()431 assertEquals(getPrivateKey().getCertificate(), in assertCertificate()707 keyStore.getCertificate(null); in test_KeyStore_getCertificate()717 keyStore.getCertificate(null); in test_KeyStore_getCertificate()725 assertNull(keyStore.getCertificate("")); in test_KeyStore_getCertificate()729 assertCertificate(keyStore.getCertificate(ALIAS_CERTIFICATE)); in test_KeyStore_getCertificate()[all …]
911 mKeyStore.getCertificate(TEST_ALIAS_2)); in testKeyStore_GetCertificate_Single_Unencrypted_Success()913 Certificate retrieved = mKeyStore.getCertificate(TEST_ALIAS_1); in testKeyStore_GetCertificate_Single_Unencrypted_Success()927 mKeyStore.getCertificate(TEST_ALIAS_1)); in testKeyStore_GetCertificate_NonExist_Unencrypted_Failure()1129 final PublicKey pubKey = keyEntry.getCertificate().getPublicKey(); in assertPrivateKeyEntryEquals()1152 keyEntry.getCertificate()); in assertPrivateKeyEntryEquals()1282 Certificate retrieved = mKeyStore.getCertificate(TEST_ALIAS_1); in testKeyStore_SetCertificate_CA_Unencrypted_Success()1754 privEntry.getCertificate(), chain); in testKeyStore_SetKeyEntry_ReplacedChain_Unencrypted_Success()1906 PublicKey pubKey = privEntry.getCertificate().getPublicKey(); in testKeyStore_KeyOperations_Wrap_Unencrypted_Success()1955 PublicKey publicKey = ks.getCertificate(alias).getPublicKey(); in testKeyStore_Encrypting_RSA_NONE_NOPADDING()1984 PublicKey publicKey = mKeyStore.getCertificate(TEST_ALIAS_2).getPublicKey(); in testKeyStore_PrivateKeyEntry_RSA_PublicKeyWorksWithCrypto()[all …]
165 cert = keyStore.getCertificate(alias); in assertKeyStoreKeyPair()173 assertEquals(cert, privEntry.getCertificate()); in assertKeyStoreKeyPair()432 keyStore.getCertificate(alias).getPublicKey(), in importIntoAndroidKeyStore()
1321 X509Certificate cert = (X509Certificate) mKeyStore.getCertificate(alias); in assertGeneratedKeyPairAndSelfSignedCertificate()1334 assertSelfSignedCertificateSignatureVerifies(mKeyStore.getCertificate(alias)); in assertSelfSignedCertificateSignatureVerifies()
115 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); in testCanInstallAndRemoveValidRsaKeypair()139 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); in testCanInstallWithAutomaticAccess()204 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); in testGrantsDoNotPersistBetweenInstallations()231 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); in testNullKeyParamsFailPredictably()247 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); in testNullAdminComponentIsDenied()258 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); in testNotUserSelectableAliasCanBeChosenViaPolicy()633 private static Certificate getCertificate(byte[] cert) throws CertificateException { in getCertificate() method in KeyManagementTest
161 X509Certificate certificate = (X509Certificate) wfaKeyStore.getCertificate(alias); in getDeviceWfaCertificates()182 X509Certificate certificate = (X509Certificate) keyStore.getCertificate(alias); in getDeviceCertificates()
505 SslCertificate cert = mWebView.getCertificate(); in testInsecureSiteClearsCertificate()514 assertNull(mWebView.getCertificate()); in testInsecureSiteClearsCertificate()535 assertNull(mWebView.getCertificate()); in testSecureSiteSetsCertificate()543 SslCertificate cert = mWebView.getCertificate(); in testSecureSiteSetsCertificate()