/aosp12/frameworks/base/core/java/android/security/keystore/recovery/ |
H A D | RecoveryCertPath.java | 47 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 D | KeyChainSnapshot.java | 222 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 D | CertUtils.java | 286 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 D | BootSignature.java | 255 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 D | CertUtilsTest.java | 247 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 D | CertXmlTest.java | 133 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 D | AddFsVerityCertRule.java | 41 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 D | RecoverableKeyStoreManager.java | 240 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 D | KeySyncTask.java | 230 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 D | KeyChainSnapshotSerializer.java | 192 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 D | UpdatableSystemFontTest.java | 311 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 D | RecoverableKeyStoreDb.java | 539 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 D | app.go | 591 certPath := certificates[0].Pem.String() 593 if strings.HasPrefix(certPath, systemCertPath) {
|
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
H A D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |
/aosp12/art/build/boot/hiddenapi/ |
H A D | hiddenapi-max-target-o-low-priority.txt | 4406 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 D | boot-image-profile.txt | 9095 HSPLsun/security/provider/certpath/PKIX$ValidatorParams;->certPath()Ljava/security/cert/CertPath;
|
/aosp12/frameworks/base/config/ |
H A D | boot-image-profile.txt | 31785 HSPLsun/security/provider/certpath/PKIX$ValidatorParams;->certPath()Ljava/security/cert/CertPath;
|