Searched refs:shouldPresentCertificate (Results 1 – 3 of 3) sorted by relevance
145 when(mDummyChecker.shouldPresentCertificate(Mockito.anyString())).thenReturn(true); in setUp()234 when(checker.shouldPresentCertificate("a")).thenReturn(true); in testAliasLoader_filtersAliasesWithNonConformingParameters()236 when(checker.shouldPresentCertificate("b")).thenReturn(false); in testAliasLoader_filtersAliasesWithNonConformingParameters()238 when(checker.shouldPresentCertificate("c")).thenReturn(true); in testAliasLoader_filtersAliasesWithNonConformingParameters()240 when(checker.shouldPresentCertificate("d")).thenReturn(false); in testAliasLoader_filtersAliasesWithNonConformingParameters()271 Assert.assertFalse(ec_checker.shouldPresentCertificate("rsa1")); in testCertificateParametersFilter_filtersByKey()272 Assert.assertTrue(ec_checker.shouldPresentCertificate("ec1")); in testCertificateParametersFilter_filtersByKey()277 Assert.assertTrue(rsa_and_ec_checker.shouldPresentCertificate("rsa1")); in testCertificateParametersFilter_filtersByKey()278 Assert.assertTrue(rsa_and_ec_checker.shouldPresentCertificate("ec1")); in testCertificateParametersFilter_filtersByKey()288 Assert.assertTrue(issuer_checker.shouldPresentCertificate("rsa1")); in testCertificateParametersFilter_filtersByIssuer()[all …]
148 .shouldPresentCertificate("client")).isTrue(); in testCertificateParametersFilter_filtersByIntermediateIssuer()151 .shouldPresentCertificate("client")).isTrue(); in testCertificateParametersFilter_filtersByIntermediateIssuer()154 .shouldPresentCertificate("client")).isFalse(); in testCertificateParametersFilter_filtersByIntermediateIssuer()
241 public boolean shouldPresentCertificate(String alias) { in shouldPresentCertificate() method in KeyChainActivity.CertificateParametersFilter316 .filter(mCertificateFilter::shouldPresentCertificate) in doInBackground()