Home
last modified time | relevance | path

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

/aosp12/frameworks/base/core/java/android/security/keystore/recovery/
H A 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()
H A DKeyChainSnapshot.java222 public @NonNull Builder setTrustedHardwareCertPath(@NonNull CertPath certPath) in setTrustedHardwareCertPath() argument
224 mInstance.mCertPath = RecoveryCertPath.createRecoveryCertPath(certPath); in setTrustedHardwareCertPath()
/aosp12/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/
H A DCertUtils.java286 CertPath certPath = buildCertPath(pkixParams); in validateCert() local
296 certPathValidator.validate(certPath, pkixParams); in validateCert()
300 return certPath; in validateCert()
311 public static void validateCertPath(X509Certificate trustedRoot, CertPath certPath) in validateCertPath() argument
313 validateCertPath(/*validationDate=*/ null, trustedRoot, certPath); in validateCertPath()
322 CertPath certPath) throws CertValidationException { in validateCertPath() argument
323 if (certPath.getCertificates().isEmpty()) { in validateCertPath()
326 if (!(certPath.getCertificates().get(0) instanceof X509Certificate)) { in validateCertPath()
331 List<X509Certificate> certificates = (List<X509Certificate>) certPath.getCertificates(); in validateCertPath()
/aosp12/system/extras/verity/
H A DBootSignature.java255 String certPath, in doSignature() argument
272 X509Certificate cert = Utils.loadPEMCertificate(certPath); in doSignature()
288 public static void verifySignature(String imagePath, String certPath) throws Exception { in verifySignature() argument
299 if (!certPath.isEmpty()) { in verifySignature()
300 System.err.println("NOTE: verifying using public key from " + certPath); in verifySignature()
301 bootsig.setCertificate(Utils.loadPEMCertificate(certPath)); in verifySignature()
331 String certPath = ""; in main() local
335 certPath = args[3]; in main()
339 verifySignature(args[1], certPath); in main()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/certificate/
H A 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()
H A DCertXmlTest.java133 CertPath certPath = in parseAndValidate_returnsExpectedCertPath() local
138 assertThat(certPath.getCertificates()) in parseAndValidate_returnsExpectedCertPath()
/aosp12/frameworks/base/tests/utils/hostutils/src/com/android/fsverity/
H A DAddFsVerityCertRule.java41 public AddFsVerityCertRule(BaseHostJUnit4Test host, String certPath) { in AddFsVerityCertRule() argument
43 mCertPath = certPath; in AddFsVerityCertRule()
/aosp12/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
H A DRecoverableKeyStoreManager.java240 CertPath certPath; in initRecoveryService() local
245 certPath = certXml.getRandomEndpointCert(rootCert); in initRecoveryService()
255 rootCertificateAlias, certPath); in initRecoveryService()
564 CertPath certPath; in startRecoverySessionWithCertPath() local
566 certPath = verifierCertPath.getCertPath(); in startRecoverySessionWithCertPath()
573 mTestCertHelper.getRootCertificate(rootCertificateAlias), certPath); in startRecoverySessionWithCertPath() local
579 byte[] verifierPublicKey = certPath.getCertificates().get(0).getPublicKey().getEncoded(); in startRecoverySessionWithCertPath()
H A DKeySyncTask.java230 CertPath certPath = mRecoverableKeyStoreDb.getRecoveryServiceCertPath(mUserId, in syncKeysForAgent() local
232 if (certPath != null) { in syncKeysForAgent()
234 publicKey = certPath.getCertificates().get(0).getPublicKey(); in syncKeysForAgent()
378 keyChainSnapshotBuilder.setTrustedHardwareCertPath(certPath); in syncKeysForAgent()
/aosp12/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/serialization/
H A DKeyChainSnapshotSerializer.java192 TypedXmlSerializer xmlSerializer, String propertyName, CertPath certPath) in writePropertyTag() argument
194 writePropertyTag(xmlSerializer, propertyName, certPath.getEncoded(CERT_PATH_ENCODING)); in writePropertyTag()
/aosp12/frameworks/base/tests/UpdatableSystemFontTest/src/com/android/updatablesystemfont/
H A DUpdatableSystemFontTest.java311 private static String insertCert(String certPath) throws Exception { in insertCert() argument
313 try (InputStream is = new FileInputStream(certPath)) { in insertCert()
/aosp12/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
H A DRecoverableKeyStoreDb.java539 CertPath certPath) throws CertificateEncodingException { in setRecoveryServiceCertPath() argument
540 if (certPath.getCertificates().size() == 0) { in setRecoveryServiceCertPath()
544 certPath.getEncoded(CERT_PATH_ENCODING)); in setRecoveryServiceCertPath()
/aosp12/build/soong/java/
H A Dapp.go591 certPath := certificates[0].Pem.String()
593 if strings.HasPrefix(certPath, systemCertPath) {
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/art/build/boot/hiddenapi/
H A Dhiddenapi-max-target-o-low-priority.txt4406 Ljava/security/cert/CertPathValidatorException;->certPath:Ljava/security/cert/CertPath;
4421 Ljava/security/cert/PKIXCertPathBuilderResult;->certPath:Ljava/security/cert/CertPath;
/aosp12/art/build/boot/
H A Dboot-image-profile.txt9095 HSPLsun/security/provider/certpath/PKIX$ValidatorParams;->certPath()Ljava/security/cert/CertPath;
/aosp12/frameworks/base/config/
H A Dboot-image-profile.txt31785 HSPLsun/security/provider/certpath/PKIX$ValidatorParams;->certPath()Ljava/security/cert/CertPath;