Searched refs:getCertificate (Results 1 – 12 of 12) sorted by relevance
252 when(mKeyStore.getCertificate(eq(USER_CERT_ALIAS))).thenReturn( in testConfigureSuiteBRsa3072()254 when(mKeyStore.getCertificate(eq(USER_CA_CERT_ALIASES[0]))).thenReturn( in testConfigureSuiteBRsa3072()280 when(mKeyStore.getCertificate(eq(USER_CERT_ALIAS))).thenReturn( in testConfigureSuiteBEcdsa()282 when(mKeyStore.getCertificate(eq(USER_CA_CERT_ALIASES[0]))).thenReturn( in testConfigureSuiteBEcdsa()308 when(mKeyStore.getCertificate(eq(USER_CERT_ALIAS))).thenReturn( in testConfigurationFailureSuiteB()310 when(mKeyStore.getCertificate(eq(USER_CA_CERT_ALIASES[0]))).thenReturn( in testConfigurationFailureSuiteB()334 when(mKeyStore.getCertificate(eq(USER_CERT_ALIAS))).thenReturn( in testConfigurationFailureSuiteBNon3072Rsa()336 when(mKeyStore.getCertificate(eq(USER_CA_CERT_ALIASES[0]))).thenReturn( in testConfigurationFailureSuiteBNon3072Rsa()361 when(mKeyStore.getCertificate(eq(USER_CERT_ALIAS))).thenReturn( in testConfigurationFailureSuiteB2048Rsa()363 when(mKeyStore.getCertificate(eq(USER_CA_CERT_ALIASES[0]))).thenReturn( in testConfigurationFailureSuiteB2048Rsa()[all …]
156 assertThat(mKeyChainService.getCertificate(ALIAS_IMPORTED)).isNull(); in testInstallAndRemoveKeyPair()162 privateKeyEntry.getCertificate().getEncoded(), in testInstallAndRemoveKeyPair()169 assertThat(mKeyChainService.getCertificate(ALIAS_IMPORTED)).isNotNull(); in testInstallAndRemoveKeyPair()175 assertThat(mKeyChainService.getCertificate(ALIAS_IMPORTED)).isNotNull(); in testInstallAndRemoveKeyPair()188 privateKeyEntry.getCertificate().getEncoded(), in testUserSelectability()311 assertThat(mKeyChainService.getCertificate(ALIAS_GENERATED)).isEqualTo(userCert); in testSetKeyPairCertificate()318 assertThat(mKeyChainService.getCertificate(ALIAS_GENERATED)).isEqualTo(newUserCert); in testSetKeyPairCertificate()330 privateKeyEntry.getCertificate().getEncoded(), in testInstallKeyPairErrorOnAliasSelectionDeniedKey()444 privateKeyEntry.getCertificate().getEncoded(), in installTestRsaKey()
175 doReturn(mCert).when(mockCertStore).getCertificate("alias"); in testCaRemoveSuccessLogging()187 doReturn(mCert).when(mockCertStore).getCertificate("alias"); in testCaRemoveFailedLogging()200 doReturn(mCert).when(mockCertStore).getCertificate("alias"); in testNoLoggingWhenDisabled()250 byte[] certificate = mKeyChain.getCertificate(NON_EXISTING_ALIAS); in testGetCertificateReturnsNullForNonExistingAlias()
48 public Certificate getCertificate(String alias) { in getCertificate() method in ShadowTrustedCertificateStore49 return sDelegate.getCertificate(alias); in getCertificate()
259 @Override public byte[] getCertificate(String alias) {266 final Certificate cert = mKeyStore.getCertificate(alias);285 return mKeyStore.getCertificate(alias).getEncoded();694 final Certificate cert = mTrustedCertificateStore.getCertificate(alias);799 .getCertificate(alias, includeDeletedSystem);817 X509Certificate root = (X509Certificate) mTrustedCertificateStore.getCertificate(
757 cert = keyStore.getCertificate(alias); in loadCertificate()
323 caCert = mKeyStore.getCertificate(caAlias); in updateNetworkKeys()348 clientCert = mKeyStore.getCertificate(config.enterpriseConfig in updateNetworkKeys()
273 byte[] certificate = jobStatus.getCertificate(); in handleJobStatus()326 byte[] certificate = jobStatus.getCertificate(); in handleBadCertificate()
90 if (keyStore.getCertificate(alias) != null) { in AndroidKeystoreAliasLoader()
112 public byte[] getCertificate() { in getCertificate() method in JobStatus
669 sslErrorName(error), sanitizeURL(errorUrl), error.getCertificate())); in onReceivedSslError()843 SslCertificate cert = error.getCertificate(); in setViewSecurityCertificate()
435 mUserCert = (X509Certificate) entry.getCertificate(); in installFrom()