Home
last modified time | relevance | path

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

/cts/tests/tests/security/src/android/security/cts/
DConscryptIntermediateVerificationTest.java39 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in loadCertificates() local
45 certs = certFactory.generateCertificates(is); in loadCertificates()
64 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in getTrustManager() local
DX509CertChainBuildingTest.java163 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in loadCertificate() local
168 return (X509Certificate) certFactory.generateCertificate(in); in loadCertificate()
DCertificateTest.java140 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in loadCertsFromDisk() local
143 Certificate cert = certFactory.generateCertificate(fis); in loadCertsFromDisk()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DFakeKeys.java239 final CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in loadCertificate() local
242 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/tests/tests/webkit/src/android/webkit/cts/
DWebViewSslTest.java877 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in getAcceptedIssuers() local
879 (X509Certificate) certFactory.generateCertificate( in getAcceptedIssuers()
901 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in testClientCertIssuersReceivedCorrectly() local
902 X509Certificate cert = (X509Certificate) certFactory.generateCertificate( in testClientCertIssuersReceivedCorrectly()
1016 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in onReceivedClientCertRequest() local
1018 (X509Certificate) certFactory.generateCertificate( in onReceivedClientCertRequest()
1020 (X509Certificate) certFactory.generateCertificate( in onReceivedClientCertRequest()
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/
DCertInstallDelegateTest.java187 final CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in readCertificate() local
188 return certFactory.generateCertificate(new ByteArrayInputStream(certBuffer)); in readCertificate()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DCaCertManagementTest.java184 final CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in readCertificate() local
185 return certFactory.generateCertificate(new ByteArrayInputStream(certBuffer)); in readCertificate()
DKeyManagementTest.java737 final CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in loadCertificatesFromAsset() local
740 return (Collection<Certificate>) certFactory.generateCertificates(is); in loadCertificatesFromAsset()
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/
DCertInstallerReceiver.java171 final CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in readCertificate() local
172 return certFactory.generateCertificate(new ByteArrayInputStream(certBuffer)); in readCertificate()
DDirectDelegatedCertInstallerTest.java247 final CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in readCertificate() local
248 return certFactory.generateCertificate(new ByteArrayInputStream(certBuffer)); in readCertificate()