Home
last modified time | relevance | path

Searched refs:toCertificate (Results 1 – 2 of 2) sorted by relevance

/packages/apps/KeyChain/robotests/src/com/android/keychain/
DAliasLoaderTest.java144 private Certificate toCertificate(byte[] bytes) throws CertificateException { in toCertificate() method in AliasLoaderTest
283 when(mKeyStoreSpi.engineGetCertificate("rsa1")).thenReturn(toCertificate(mRSACertOne)); in prepareKeyStoreWithCertificates()
284 when(mKeyStoreSpi.engineGetCertificate("ec1")).thenReturn(toCertificate(mECCertOne)); in prepareKeyStoreWithCertificates()
285 when(mKeyStoreSpi.engineGetCertificate("rsa2")).thenReturn(toCertificate(mRSACertTwo)); in prepareKeyStoreWithCertificates()
286 when(mKeyStoreSpi.engineGetCertificate("ec2")).thenReturn(toCertificate(mECCertTwo)); in prepareKeyStoreWithCertificates()
/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsSettings.java744 X509Certificate cert = KeyChain.toCertificate(encodedCertificate); in doInBackground()
959 X509Certificate certificate = KeyChain.toCertificate(encodedCertificate); in getX509CertsFromCertHolder()