Home
last modified time | relevance | path

Searched refs:certFactory (Results 1 – 12 of 12) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/android/net/wifi/
DFakeKeys.java58 final CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in loadCertificate() local
61 return (X509Certificate) certFactory.generateCertificate(stream); in loadCertificate()
/frameworks/base/keystore/java/android/security/
DKeyChain.java515 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in toCertificate() local
516 Certificate cert = certFactory.generateCertificate(new ByteArrayInputStream(bytes)); in toCertificate()
530 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in toCertificates() local
531 return (Collection<X509Certificate>) certFactory.generateCertificates( in toCertificates()
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
DOSUSocketFactory.java63 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in buildCertSet() local
68 X509Certificate cert = (X509Certificate) certFactory.generateCertificate(bis); in buildCertSet()
242 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in checkServerTrusted() local
243 CertPath path = certFactory.generateCertPath( in checkServerTrusted()
DOSUClient.java437 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in getCerts() local
444 certs.add((X509Certificate) certFactory.generateCertificate(httpHandler.doGet(url))); in getCerts()
DOSUManager.java219 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in readCertsFromDisk() local
226 Certificate cert = certFactory.generateCertificate(in); in readCertsFromDisk()
/frameworks/base/core/java/android/content/pm/
DSignature.java174 final CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in getPublicKey() local
176 final Certificate cert = certFactory.generateCertificate(bais); in getPublicKey()
/frameworks/base/core/java/android/util/apk/
DApkSignatureSchemeV2Verifier.java208 CertificateFactory certFactory; in verify() local
210 certFactory = CertificateFactory.getInstance("X.509"); in verify()
224 X509Certificate[] certs = verifySigner(signer, contentDigests, certFactory); in verify()
255 CertificateFactory certFactory) throws SecurityException, IOException { in verifySigner() argument
367 certFactory.generateCertificate(new ByteArrayInputStream(encodedCert)); in verifySigner()
/frameworks/base/core/java/android/net/http/
DSslCertificate.java131 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in restoreState() local
132 Certificate cert = certFactory.generateCertificate(new ByteArrayInputStream(bytes)); in restoreState()
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreSpi.java217 final CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in toCertificate() local
218 return (X509Certificate) certFactory.generateCertificate( in toCertificate()
229 final CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in toCertificates() local
230 return (Collection<X509Certificate>) certFactory.generateCertificates( in toCertificates()
/frameworks/base/packages/Osu/src/com/android/hotspot2/est/
DESTHandler.java293 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in unpackPkcs7() local
302 certList.add((X509Certificate) certFactory. in unpackPkcs7()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java3079 final CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in getCaCertAlias() local
3080 final X509Certificate cert = (X509Certificate) certFactory.generateCertificate( in getCaCertAlias()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java4532 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in parseCert() local
4533 return (X509Certificate) certFactory.generateCertificate(new ByteArrayInputStream( in parseCert()