content: package androidx.core.provider;
  
  import android.util.Base64;
  import androidx.core.util.Preconditions;
  import java.util.List;
  import mt.Log1F380D;
  
  /* compiled from: 004F */
  public final class FontRequest {
      private final List<List<byte[]>> mCertificates;
      private final int mCertificatesArray;
      private final String mIdentifier;
      private final String mProviderAuthority;
      private final String mProviderPackage;
      private final String mQuery;
  
      public FontRequest(String providerAuthority, String providerPackage, String query, int certificates) {
          this.mProviderAuthority = (String) Preconditions.checkNotNull(providerAuthority);
          this.mProviderPackage = (String) Preconditions.checkNotNull(providerPackage);
          this.mQuery = (String) Preconditions.checkNotNull(query);
          this.mCertificates = null;
          Preconditions.checkArgument(certificates != 0);
          this.mCertificatesArray = certificates;
          this.mIdentifier = createIdentifier(providerAuthority, providerPackage, query);
      }
  
      public FontRequest(String providerAuthority, String providerPackage, String query, List<List<byte[]>> list) {
          this.mProviderAuthority = (String) Preconditions.checkNotNull(providerAuthority);
          this.mProviderPackage = (String) Preconditions.checkNotNull(providerPackage);
          this.mQuery = (String) Preconditions.checkNotNull(query);
          this.mCertificates = (List) Preconditions.checkNotNull(list);
          this.mCertificatesArray = 0;
          this.mIdentifier = createIdentifier(providerAuthority, providerPackage, query);
      }
  
      private String createIdentifier(String providerAuthority, String providerPackage, String query) {
          return providerAuthority + "-" + providerPackage + "-" + query;
      }
  
      public List<List<byte[]>> getCertificates() {
          return this.mCertificates;
      }
  
      public int getCertificatesArrayResId() {
          return this.mCertificatesArray;
      }
  
      /* access modifiers changed from: package-private */
      public String getId() {
          return this.mIdentifier;
      }
  
      @Deprecated
      public String getIdentifier() {
          return this.mIdentifier;
      }
  
      public String getProviderAuthority() {
          return this.mProviderAuthority;
      }
  
      public String getProviderPackage() {
          return this.mProviderPackage;
      }
  
      public String getQuery() {
          return this.mQuery;
      }
  
      public String toString() {
          StringBuilder sb = new StringBuilder();
          sb.append("FontRequest {mProviderAuthority: " + this.mProviderAuthority + ", mProviderPackage: " + this.mProviderPackage + ", mQuery: " + this.mQuery + ", mCertificates:");
          for (int i = 0; i < this.mCertificates.size(); i++) {
              sb.append(" [");
              List list = this.mCertificates.get(i);
              for (int i2 = 0; i2 < list.size(); i2++) {
                  sb.append(" \"");
                  String encodeToString = Base64.encodeToString((byte[]) list.get(i2), 0);
                  Log1F380D.a((Object) encodeToString);
                  sb.append(encodeToString);
                  sb.append("\"");
              }
              sb.append(" ]");
          }
          sb.append("}");
          sb.append("mCertificatesArray: " + this.mCertificatesArray);
          return sb.toString();
      }
  }
  