Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/security/keystore/recovery/
DRecoveryCertPath.java47 public static @NonNull RecoveryCertPath createRecoveryCertPath(@NonNull CertPath certPath) in createRecoveryCertPath() argument
51 return new RecoveryCertPath(encodeCertPath(certPath)); in createRecoveryCertPath()
98 private static byte[] encodeCertPath(@NonNull CertPath certPath) in encodeCertPath() argument
100 Objects.requireNonNull(certPath); in encodeCertPath()
101 return certPath.getEncoded(CERT_PATH_ENCODING); in encodeCertPath()
DKeyChainSnapshot.java222 public @NonNull Builder setTrustedHardwareCertPath(@NonNull CertPath certPath) in setTrustedHardwareCertPath() argument
224 mInstance.mCertPath = RecoveryCertPath.createRecoveryCertPath(certPath); in setTrustedHardwareCertPath()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/
DCertUtils.java286 CertPath certPath = buildCertPath(pkixParams); in validateCert() local
296 certPathValidator.validate(certPath, pkixParams); in validateCert()
300 return certPath; in validateCert()
312 public static void validateCertPath(X509Certificate trustedRoot, CertPath certPath, in validateCertPath() argument
314 validateCertPath(validationDate, trustedRoot, certPath); in validateCertPath()
323 CertPath certPath) throws CertValidationException { in validateCertPath() argument
324 if (certPath.getCertificates().isEmpty()) { in validateCertPath()
327 if (!(certPath.getCertificates().get(0) instanceof X509Certificate)) { in validateCertPath()
332 List<X509Certificate> certificates = (List<X509Certificate>) certPath.getCertificates(); in validateCertPath()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/certificate/
DCertUtilsTest.java247 CertPath certPath = CertUtils.buildCertPath( in buildCertPath_succeedsWithoutIntermediates() local
251 assertThat(certPath.getCertificates()).containsExactly( in buildCertPath_succeedsWithoutIntermediates()
261 CertPath certPath = in buildCertPath_succeedsWithIntermediates() local
266 assertThat(certPath.getCertificates()) in buildCertPath_succeedsWithIntermediates()
280 CertPath certPath = in buildCertPath_succeedsWithIntermediates_ignoreUnrelatedIntermedateCert() local
285 assertThat(certPath.getCertificates()) in buildCertPath_succeedsWithIntermediates_ignoreUnrelatedIntermedateCert()
327 CertPath certPath = in validateCertPath_succeeds() local
333 TestData.DATE_ALL_CERTS_VALID, TestData.ROOT_CA_TRUSTED, certPath); in validateCertPath_succeeds()
DCertXmlTest.java133 CertPath certPath = in parseAndValidate_returnsExpectedCertPath() local
138 assertThat(certPath.getCertificates()) in parseAndValidate_returnsExpectedCertPath()
/frameworks/native/libs/binder/tests/rpc_fuzzer/
Dmain.cpp89 auto certPath = GetExecutableDirectory() + "/data/server.crt"; in readServerKeyAndCert() local
90 bssl::UniquePtr<BIO> certBio(BIO_new_file(certPath.c_str(), "r")); in readServerKeyAndCert()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DKeySyncTask.java237 CertPath certPath = mRecoverableKeyStoreDb.getRecoveryServiceCertPath(mUserId, in syncKeysForAgent() local
239 if (certPath != null) { in syncKeysForAgent()
241 publicKey = certPath.getCertificates().get(0).getPublicKey(); in syncKeysForAgent()
385 keyChainSnapshotBuilder.setTrustedHardwareCertPath(certPath); in syncKeysForAgent()
DRecoverableKeyStoreManager.java273 CertPath certPath; in initRecoveryService() local
279 certPath = certXml.getRandomEndpointCert(rootCert, validationDate); in initRecoveryService()
289 rootCertificateAlias, certPath); in initRecoveryService()
599 CertPath certPath; in startRecoverySessionWithCertPath() local
601 certPath = verifierCertPath.getCertPath(); in startRecoverySessionWithCertPath()
609 certPath, validationDate); in startRecoverySessionWithCertPath() local
615 byte[] verifierPublicKey = certPath.getCertificates().get(0).getPublicKey().getEncoded(); in startRecoverySessionWithCertPath()
/frameworks/base/services/core/java/com/android/server/graphics/fonts/
DFontManagerShellCommand.java344 String certPath = shell.getNextArg(); in installCert() local
345 if (certPath == null) { in installCert()
350 File file = new File(certPath); in installCert()
357 mService.addDebugCertificate(certPath); in installCert()
DFontManagerService.java195 for (String certPath : mDerCertPaths) { in isFromTrustedProvider()
196 try (InputStream is = new FileInputStream(certPath)) { in isFromTrustedProvider()
201 Log.w(TAG, "Failed to read certificate file: " + certPath); in isFromTrustedProvider()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/serialization/
DKeyChainSnapshotSerializer.java193 TypedXmlSerializer xmlSerializer, String propertyName, CertPath certPath) in writePropertyTag() argument
195 writePropertyTag(xmlSerializer, propertyName, certPath.getEncoded(CERT_PATH_ENCODING)); in writePropertyTag()
/frameworks/base/tests/UpdatableSystemFontTest/src/com/android/updatablesystemfont/
DUpdatableSystemFontTest.java368 private static void insertCert(String certPath) throws Exception { in insertCert() argument
371 runShellCommand("cp " + certPath + " " + copiedCert, null); in insertCert()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDb.java587 CertPath certPath) throws CertificateEncodingException { in setRecoveryServiceCertPath() argument
588 if (certPath.getCertificates().size() == 0) { in setRecoveryServiceCertPath()
592 certPath.getEncoded(CERT_PATH_ENCODING)); in setRecoveryServiceCertPath()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/config/
Dboot-image-profile.txt31943 HSPLsun/security/provider/certpath/PKIX$ValidatorParams;->certPath()Ljava/security/cert/CertPath;