Searched defs:certPath (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/core/java/android/security/keystore/recovery/
H A DRecoveryCertPath.java45 * @param certPath The certificate path to be wrapped.
48 public static @NonNull RecoveryCertPath createRecoveryCertPath(@NonNull CertPath certPath) argument
52 return new RecoveryCertPath(encodeCertPath(certPath));
99 private static byte[] encodeCertPath(@NonNull CertPath certPath) argument
101 Preconditions.checkNotNull(certPath);
102 return certPath.getEncoded(CERT_PATH_ENCODING);
H A DKeyChainSnapshot.java242 * @param certPath The certificate path
246 public Builder setTrustedHardwareCertPath(@NonNull CertPath certPath) argument
248 mInstance.mCertPath = RecoveryCertPath.createRecoveryCertPath(certPath);
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/serialization/
H A DKeyChainSnapshotSerializer.java192 XmlSerializer xmlSerializer, String propertyName, CertPath certPath)
194 writePropertyTag(xmlSerializer, propertyName, certPath.getEncoded(CERT_PATH_ENCODING));
191 writePropertyTag( XmlSerializer xmlSerializer, String propertyName, CertPath certPath) argument
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/
H A DCertUtils.java279 CertPath certPath = buildCertPath(pkixParams);
289 certPathValidator.validate(certPath, pkixParams);
293 return certPath;
300 * @param certPath the certificate path to be validated
304 public static void validateCertPath(X509Certificate trustedRoot, CertPath certPath) argument
306 validateCertPath(/*validationDate=*/ null, trustedRoot, certPath);
315 CertPath certPath) throws CertValidationException {
316 if (certPath.getCertificates().isEmpty()) {
319 if (!(certPath.getCertificates().get(0) instanceof X509Certificate)) {
324 List<X509Certificate> certificates = (List<X509Certificate>) certPath
314 validateCertPath(@ullable Date validationDate, X509Certificate trustedRoot, CertPath certPath) argument
[all...]
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
H A DRecoverableKeyStoreDb.java455 * @param certPath The certificate path of the recovery service.
460 CertPath certPath) throws CertificateEncodingException {
461 if (certPath.getCertificates().size() == 0) {
465 certPath.getEncoded(CERT_PATH_ENCODING));
459 setRecoveryServiceCertPath(int userId, int uid, @NonNull String rootAlias, CertPath certPath) argument

Completed in 407 milliseconds