Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/security/keystore/recovery/
DX509CertificateParsingUtils.java73 CertificateFactory certFactory; in decodeCert() local
75 certFactory = CertificateFactory.getInstance(CERT_FORMAT); in decodeCert()
80 return (X509Certificate) certFactory.generateCertificate(inStream); in decodeCert()
DRecoveryCertPath.java108 CertificateFactory certFactory; in decodeCertPath() local
110 certFactory = CertificateFactory.getInstance("X.509"); in decodeCertPath()
115 return certFactory.generateCertPath(new ByteArrayInputStream(bytes), CERT_PATH_ENCODING); in decodeCertPath()
/frameworks/base/core/java/android/util/apk/
DApkSignatureSchemeV3Verifier.java173 CertificateFactory certFactory; in verify() local
175 certFactory = CertificateFactory.getInstance("X.509"); in verify()
188 result = verifySigner(signer, contentDigests, certFactory); in verify()
229 CertificateFactory certFactory) in verifySigner() argument
354 certFactory.generateCertificate(new ByteArrayInputStream(encodedCert)); in verifySigner()
386 return verifyAdditionalAttributes(additionalAttrs, certs, certFactory); in verifySigner()
392 List<X509Certificate> certs, CertificateFactory certFactory) throws IOException { in verifyAdditionalAttributes() argument
409 por = verifyProofOfRotationStruct(attr, certFactory); in verifyAdditionalAttributes()
435 CertificateFactory certFactory) in verifyProofOfRotationStruct() argument
496 certFactory.generateCertificate(new ByteArrayInputStream(encodedCert)); in verifyProofOfRotationStruct()
DApkSignatureSchemeV2Verifier.java177 CertificateFactory certFactory; in verify() local
179 certFactory = CertificateFactory.getInstance("X.509"); in verify()
193 X509Certificate[] certs = verifySigner(signer, contentDigests, certFactory); in verify()
229 CertificateFactory certFactory) throws SecurityException, IOException { in verifySigner() argument
341 certFactory.generateCertificate(new ByteArrayInputStream(encodedCert)); in verifySigner()
/frameworks/base/core/tests/coretests/src/android/security/keystore/recovery/
DTestData.java85 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in decodeCertPath() local
86 return certFactory.generateCertPath(new ByteArrayInputStream(certPathBytes), "PkiPath"); in decodeCertPath()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DFakeKeys.java203 final CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in loadCertificate() local
206 return (X509Certificate) certFactory.generateCertificate(stream); in loadCertificate()
/frameworks/base/wifi/tests/src/android/net/wifi/
DFakeKeys.java219 final CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in loadCertificate() local
222 return (X509Certificate) certFactory.generateCertificate(stream); in loadCertificate()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DWfaCertBuilder.java51 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in loadCertsFromDisk() local
54 Certificate cert = certFactory.generateCertificate(fis); in loadCertsFromDisk()
DOsuServerConnection.java451 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in getCert() local
518 X509Certificate certificate = (X509Certificate) certFactory.generateCertificate( in getCert()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DTestData.java463 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in decodeCertPath() local
464 return certFactory.generateCertPath(new ByteArrayInputStream(certPathBytes), "PkiPath"); in decodeCertPath()
DRecoverableKeyStoreManagerTest.java880 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in startRecoverySessionWithCertPath_throwsIfEmptyCertPath() local
881 CertPath emptyCertPath = certFactory.generateCertPath(new ArrayList<X509Certificate>()); in startRecoverySessionWithCertPath_throwsIfEmptyCertPath()
898 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in startRecoverySessionWithCertPath_throwsIfInvalidCertPath() local
899 CertPath shortCertPath = certFactory.generateCertPath( in startRecoverySessionWithCertPath_throwsIfInvalidCertPath()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProvisioningTestUtil.java132 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in getOsuCertsForTest() local
136 Certificate cert = certFactory.generateCertificate(bis); in getOsuCertsForTest()
/frameworks/base/keystore/java/android/security/
DKeyChain.java738 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in toCertificate() local
739 Certificate cert = certFactory.generateCertificate(new ByteArrayInputStream(bytes)); in toCertificate()
753 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in toCertificates() local
754 return (Collection<X509Certificate>) certFactory.generateCertificates( in toCertificates()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/
DCertUtils.java101 CertificateFactory certFactory; in decodeCert() local
103 certFactory = CertificateFactory.getInstance(CERT_FORMAT); in decodeCert()
109 return (X509Certificate) certFactory.generateCertificate(inStream); in decodeCert()
/frameworks/base/core/java/android/content/pm/
DSignature.java206 final CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in getPublicKey() local
208 final Certificate cert = certFactory.generateCertificate(bais); in getPublicKey()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DCertificateMonitor.java229 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in parseCert() local
230 return (X509Certificate) certFactory.generateCertificate(new ByteArrayInputStream( in parseCert()
/frameworks/base/core/java/android/net/http/
DSslCertificate.java133 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in restoreState() local
134 Certificate cert = certFactory.generateCertificate(new ByteArrayInputStream(bytes)); in restoreState()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/certificate/
DCertUtilsTest.java338 CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in validateCertPath_throwsIfEmptyCertPath() local
339 CertPath emptyCertPath = certFactory.generateCertPath(new ArrayList<X509Certificate>()); in validateCertPath_throwsIfEmptyCertPath()
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreSpi.java232 final CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in toCertificate() local
233 return (X509Certificate) certFactory.generateCertificate( in toCertificate()
244 final CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in toCertificates() local
245 return (Collection<X509Certificate>) certFactory.generateCertificates( in toCertificates()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDb.java1360 CertificateFactory certFactory; in decodeCertPath() local
1362 certFactory = CertificateFactory.getInstance("X.509"); in decodeCertPath()
1367 return certFactory.generateCertPath(new ByteArrayInputStream(bytes), CERT_PATH_ENCODING); in decodeCertPath()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java5062 final CertificateFactory certFactory = CertificateFactory.getInstance("X.509"); in getCaCertAlias() local
5063 final X509Certificate cert = (X509Certificate) certFactory.generateCertificate( in getCaCertAlias()