Home
last modified time | relevance | path

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

/cts/tests/tests/security/src/android/security/cts/
DConscryptIntermediateVerificationTest.java44 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in loadCertificates() local
50 certs = certFactory.generateCertificates(is); in loadCertificates()
69 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in getTrustManager() local
DX509CertChainBuildingTest.java162 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in loadCertificate() local
167 return (X509Certificate) certFactory.generateCertificate(in); in loadCertificate()
DCertificateTest.java171 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in loadCertsFromDisk() local
174 Certificate cert = certFactory.generateCertificate(fis); in loadCertsFromDisk()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DFakeKeys.java268 final CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in loadCertificate() local
271 return (X509Certificate) certFactory.generateCertificate(stream); in loadCertificate()
DWifiNetworkSpecifierTest.java165 final CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in loadCertificate() local
168 return (X509Certificate) certFactory.generateCertificate(stream); in loadCertificate()
DWifiNetworkSuggestionTest.java683 final CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in loadCertificate() local
686 return (X509Certificate) certFactory.generateCertificate(stream); in loadCertificate()
/cts/tests/security/src/android/keystore/cts/
DCertificateUtils.java74 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in createCertificate() local
77 certFactory.generateCertificate( in createCertificate()
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/
DCertInstallerReceiver.java181 final CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in readCertificate() local
182 return certFactory.generateCertificate(new ByteArrayInputStream(certBuffer)); in readCertificate()
DDirectDelegatedCertInstallerTest.java292 final CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in readCertificate() local
293 return certFactory.generateCertificate(new ByteArrayInputStream(certBuffer)); in readCertificate()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewSslTest.java920 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in testClientCertIssuersReceivedCorrectly() local
921 X509Certificate cert = (X509Certificate) certFactory.generateCertificate( in testClientCertIssuersReceivedCorrectly()
1041 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in onReceivedClientCertRequest() local
1043 (X509Certificate) certFactory.generateCertificate( in onReceivedClientCertRequest()
1045 (X509Certificate) certFactory.generateCertificate( in onReceivedClientCertRequest()
/cts/libs/webkit-shared/src/android/webkit/cts/
DSharedWebViewTestEnvironment.java262 CertificateFactory certFactory =
265 (X509Certificate) certFactory.generateCertificate(
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DCaCertManagementTest.java407 final CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in readCertificate() local
408 return certFactory.generateCertificate(new ByteArrayInputStream(certBuffer)); in readCertificate()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DKeyManagementTest.java765 final CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in loadCertificatesFromAsset() local
768 return (Collection<Certificate>) certFactory.generateCertificates(is); in loadCertificatesFromAsset()
/cts/tests/tests/content/src/android/content/pm/cts/
DChecksumsTest.java1679 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in readCertificate() local
1680 return certFactory.generateCertificate(is); in readCertificate()
DPackageManagerTest.java3323 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in readCertificate() local
3324 return certFactory.generateCertificate(is); in readCertificate()