Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/security/keystore/recovery/
DRecoveryCertPath.java48 public static @NonNull RecoveryCertPath createRecoveryCertPath(@NonNull CertPath certPath) in createRecoveryCertPath() argument
52 return new RecoveryCertPath(encodeCertPath(certPath)); in createRecoveryCertPath()
99 private static byte[] encodeCertPath(@NonNull CertPath certPath) in encodeCertPath() argument
101 Preconditions.checkNotNull(certPath); in encodeCertPath()
102 return certPath.getEncoded(CERT_PATH_ENCODING); in encodeCertPath()
DKeyChainSnapshot.java221 public @NonNull Builder setTrustedHardwareCertPath(@NonNull CertPath certPath) in setTrustedHardwareCertPath() argument
223 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()
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()
/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/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
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()
DKeySyncTask.java219 CertPath certPath = mRecoverableKeyStoreDb.getRecoveryServiceCertPath(mUserId, in syncKeysForAgent() local
221 if (certPath != null) { in syncKeysForAgent()
223 publicKey = certPath.getCertificates().get(0).getPublicKey(); in syncKeysForAgent()
367 keyChainSnapshotBuilder.setTrustedHardwareCertPath(certPath); in syncKeysForAgent()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/serialization/
DKeyChainSnapshotSerializer.java195 XmlSerializer xmlSerializer, String propertyName, CertPath certPath) in writePropertyTag() argument
197 writePropertyTag(xmlSerializer, propertyName, certPath.getEncoded(CERT_PATH_ENCODING)); in writePropertyTag()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
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()
/frameworks/base/config/
Dboot-image-profile.txt31573 HSPLsun/security/provider/certpath/PKIX$ValidatorParams;->certPath()Ljava/security/cert/CertPath;
Dhiddenapi-greylist-max-o.txt105797 Ljava/security/cert/CertPathValidatorException;->certPath:Ljava/security/cert/CertPath;
105812 Ljava/security/cert/PKIXCertPathBuilderResult;->certPath:Ljava/security/cert/CertPath;