Home
last modified time | relevance | path

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

/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DKeyChainServiceTest.java200 Credentials.convertToPem(pke1.getCertificate()))); in test_KeyChainService()
208 Credentials.convertToPem(pke2.getCertificate()))); in test_KeyChainService()
232 byte[] certificate = mService.getCertificate(alias1); in test_KeyChainService()
234 assertEquals(Arrays.toString(Credentials.convertToPem(pke1.getCertificate())), in test_KeyChainService()
246 mService.getCertificate(alias2); in test_KeyChainService()
/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.java141 @Override public byte[] getCertificate(String alias) {
455 final Certificate cert = mTrustedCertificateStore.getCertificate(alias);
537 .getCertificate(alias, includeDeletedSystem);
555 X509Certificate root = (X509Certificate) mTrustedCertificateStore.getCertificate(
/packages/apps/Email/src/com/android/email/view/
DCertificateSelector.java104 public String getCertificate() { in getCertificate() method in CertificateSelector
130 return new SavedState(super.onSaveInstanceState(), getCertificate()); in onSaveInstanceState()
/packages/services/BuiltInPrintService/src/com/android/bips/
DLocalPrintJob.java263 byte[] certificate = jobStatus.getCertificate(); in handleJobStatus()
316 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.java501 sslErrorName(error), sanitizeURL(errorUrl), error.getCertificate())); in onReceivedSslError()
614 SslCertificate cert = error.getCertificate(); in setViewSecurityCertificate()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCredentialHelper.java417 mUserCert = (X509Certificate) entry.getCertificate(); in installFrom()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupCredentialsFragment.java361 return mClientCertificateSelector.getCertificate(); in getClientCertificate()
DAccountSetupIncomingFragment.java582 recvAuth.mClientCertAlias = mClientCertificateSelector.getCertificate(); in collectUserInputInternal()