Searched refs:getCertificate (Results 1 – 8 of 8) sorted by relevance
152 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()
157 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()
48 public Certificate getCertificate(String alias) { in getCertificate() method in ShadowTrustedCertificateStore49 return sDelegate.getCertificate(alias); in getCertificate()
149 @Override public byte[] getCertificate(String alias) {535 final Certificate cert = mTrustedCertificateStore.getCertificate(alias);619 .getCertificate(alias, includeDeletedSystem);637 X509Certificate root = (X509Certificate) mTrustedCertificateStore.getCertificate(
273 byte[] certificate = jobStatus.getCertificate(); in handleJobStatus()326 byte[] certificate = jobStatus.getCertificate(); in handleBadCertificate()
112 public byte[] getCertificate() { in getCertificate() method in JobStatus
652 sslErrorName(error), sanitizeURL(errorUrl), error.getCertificate())); in onReceivedSslError()824 SslCertificate cert = error.getCertificate(); in setViewSecurityCertificate()
437 mUserCert = (X509Certificate) entry.getCertificate(); in installFrom()