Home
last modified time | relevance | path

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

/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DBasicKeyChainServiceTest.java152 assertThat(mKeyChainService.getCertificate(ALIAS_IMPORTED)).isNull(); in testInstallAndRemoveKeyPair()
158 privateKeyEntry.getCertificate().getEncoded(), in testInstallAndRemoveKeyPair()
164 assertThat(mKeyChainService.getCertificate(ALIAS_IMPORTED)).isNull(); in testInstallAndRemoveKeyPair()
170 assertThat(mKeyChainService.getCertificate(ALIAS_IMPORTED)).isNotNull(); in testInstallAndRemoveKeyPair()
183 privateKeyEntry.getCertificate().getEncoded(), in testUserSelectability()
280 assertThat(mKeyChainService.getCertificate(ALIAS_GENERATED)).isEqualTo(userCert); in testSetKeyPairCertificate()
286 assertThat(mKeyChainService.getCertificate(ALIAS_GENERATED)).isEqualTo(newUserCert); in testSetKeyPairCertificate()
298 privateKeyEntry.getCertificate().getEncoded(), in testInstallKeyPairErrorOnAliasSelectionDeniedKey()
387 Credentials.convertToPem(privateKeyEntry.getCertificate()))) in installFirstKey()
/packages/apps/KeyChain/robotests/src/com/android/keychain/
DKeyChainServiceRoboTest.java157 doReturn(mCert).when(mockCertStore).getCertificate("alias"); in testCaRemoveSuccessLogging()
169 doReturn(mCert).when(mockCertStore).getCertificate("alias"); in testCaRemoveFailedLogging()
182 doReturn(mCert).when(mockCertStore).getCertificate("alias"); in testNoLoggingWhenDisabled()
232 byte[] certificate = mKeyChain.getCertificate(NON_EXISTING_ALIAS); in testGetCertificateReturnsNullForNonExistingAlias()
DShadowTrustedCertificateStore.java48 public Certificate getCertificate(String alias) { in getCertificate() method in ShadowTrustedCertificateStore
49 return sDelegate.getCertificate(alias); in getCertificate()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainService.java149 @Override public byte[] getCertificate(String alias) {
535 final Certificate cert = mTrustedCertificateStore.getCertificate(alias);
619 .getCertificate(alias, includeDeletedSystem);
637 X509Certificate root = (X509Certificate) mTrustedCertificateStore.getCertificate(
/packages/services/BuiltInPrintService/src/com/android/bips/
DLocalPrintJob.java273 byte[] certificate = jobStatus.getCertificate(); in handleJobStatus()
326 byte[] certificate = jobStatus.getCertificate(); in handleBadCertificate()
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
DJobStatus.java112 public byte[] getCertificate() { in getCertificate() method in JobStatus
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java652 sslErrorName(error), sanitizeURL(errorUrl), error.getCertificate())); in onReceivedSslError()
824 SslCertificate cert = error.getCertificate(); in setViewSecurityCertificate()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCredentialHelper.java437 mUserCert = (X509Certificate) entry.getCertificate(); in installFrom()