content: package okhttp3;
  
  import java.security.Principal;
  import java.security.PublicKey;
  import java.security.cert.Certificate;
  import java.security.cert.X509Certificate;
  import java.util.ArrayList;
  import java.util.Iterator;
  import java.util.List;
  import java.util.Set;
  import javax.net.ssl.SSLPeerUnverifiedException;
  import kotlin.Deprecated;
  import kotlin.Metadata;
  import kotlin.ReplaceWith;
  import kotlin.collections.ArraysKt;
  import kotlin.collections.CollectionsKt;
  import kotlin.jvm.JvmStatic;
  import kotlin.jvm.functions.Function0;
  import kotlin.jvm.internal.DefaultConstructorMarker;
  import kotlin.jvm.internal.Intrinsics;
  import kotlin.jvm.internal.TypeIntrinsics;
  import kotlin.text.StringsKt;
  import mt.Log1F380D;
  import okhttp3.internal.HostnamesKt;
  import okhttp3.internal.tls.CertificateChainCleaner;
  import okio.ByteString;
  
  @Metadata(bv = {1, 0, 3}, d1 = {"\u0000T\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\"\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0011\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0010\b\n\u0002\b\u0006\u0018\u0000 \"2\u00020\u0001:\u0003!\"#B!\b\u0000\u0012\f\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003\u0012\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u0006¢\u0006\u0002\u0010\u0007J)\u0010\f\u001a\u00020\r2\u0006\u0010\u000e\u001a\u00020\u000f2\u0012\u0010\u0010\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00130\u00120\u0011H\u0000¢\u0006\u0002\b\u0014J)\u0010\f\u001a\u00020\r2\u0006\u0010\u000e\u001a\u00020\u000f2\u0012\u0010\u0015\u001a\n\u0012\u0006\b\u0001\u0012\u00020\u00170\u0016\"\u00020\u0017H\u0007¢\u0006\u0002\u0010\u0018J\u001c\u0010\f\u001a\u00020\r2\u0006\u0010\u000e\u001a\u00020\u000f2\f\u0010\u0015\u001a\b\u0012\u0004\u0012\u00020\u00170\u0012J\u0013\u0010\u0019\u001a\u00020\u001a2\b\u0010\u001b\u001a\u0004\u0018\u00010\u0001H\u0002J\u0014\u0010\u001c\u001a\b\u0012\u0004\u0012\u00020\u00040\u00122\u0006\u0010\u000e\u001a\u00020\u000fJ\b\u0010\u001d\u001a\u00020\u001eH\u0016J\u0015\u0010\u001f\u001a\u00020\u00002\u0006\u0010\u0005\u001a\u00020\u0006H\u0000¢\u0006\u0002\b R\u0016\u0010\u0005\u001a\u0004\u0018\u00010\u0006X\u0004¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\tR\u0017\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000b¨\u0006$"}, d2 = {"Lokhttp3/CertificatePinner;", "", "pins", "", "Lokhttp3/CertificatePinner$Pin;", "certificateChainCleaner", "Lokhttp3/internal/tls/CertificateChainCleaner;", "(Ljava/util/Set;Lokhttp3/internal/tls/CertificateChainCleaner;)V", "getCertificateChainCleaner$okhttp", "()Lokhttp3/internal/tls/CertificateChainCleaner;", "getPins", "()Ljava/util/Set;", "check", "", "hostname", "", "cleanedPeerCertificatesFn", "Lkotlin/Function0;", "", "Ljava/security/cert/X509Certificate;", "check$okhttp", "peerCertificates", "", "Ljava/security/cert/Certificate;", "(Ljava/lang/String;[Ljava/security/cert/Certificate;)V", "equals", "", "other", "findMatchingPins", "hashCode", "", "withCertificateChainCleaner", "withCertificateChainCleaner$okhttp", "Builder", "Companion", "Pin", "okhttp"}, k = 1, mv = {1, 4, 0})
  /* compiled from: CertificatePinner.kt */
  public final class CertificatePinner {
      public static final Companion Companion = new Companion((DefaultConstructorMarker) null);
      public static final CertificatePinner DEFAULT = new Builder().build();
      private final CertificateChainCleaner certificateChainCleaner;
      private final Set<Pin> pins;
  
      @Metadata(bv = {1, 0, 3}, d1 = {"\u0000*\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010!\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\u000e\n\u0002\u0010\u0011\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\u0018\u00002\u00020\u0001B\u0005¢\u0006\u0002\u0010\u0002J'\u0010\b\u001a\u00020\u00002\u0006\u0010\t\u001a\u00020\n2\u0012\u0010\u0003\u001a\n\u0012\u0006\b\u0001\u0012\u00020\n0\u000b\"\u00020\n¢\u0006\u0002\u0010\fJ\u0006\u0010\r\u001a\u00020\u000eR\u0017\u0010\u0003\u001a\b\u0012\u0004\u0012\u00020\u00050\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007¨\u0006\u000f"}, d2 = {"Lokhttp3/CertificatePinner$Builder;", "", "()V", "pins", "", "Lokhttp3/CertificatePinner$Pin;", "getPins", "()Ljava/util/List;", "add", "pattern", "", "", "(Ljava/lang/String;[Ljava/lang/String;)Lokhttp3/CertificatePinner$Builder;", "build", "Lokhttp3/CertificatePinner;", "okhttp"}, k = 1, mv = {1, 4, 0})
      /* compiled from: CertificatePinner.kt */
      public static final class Builder {
          private final List<Pin> pins = new ArrayList();
  
          public final Builder add(String pattern, String... pins2) {
              Intrinsics.checkNotNullParameter(pattern, "pattern");
              Intrinsics.checkNotNullParameter(pins2, "pins");
              Builder builder = this;
              for (String pin : pins2) {
                  builder.pins.add(new Pin(pattern, pin));
              }
              return this;
          }
  
          public final CertificatePinner build() {
              return new CertificatePinner(CollectionsKt.toSet(this.pins), (CertificateChainCleaner) null, 2, (DefaultConstructorMarker) null);
          }
  
          public final List<Pin> getPins() {
              return this.pins;
          }
      }
  
      @Metadata(bv = {1, 0, 3}, d1 = {"\u0000*\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u0010\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\bH\u0007J\f\u0010\t\u001a\u00020\n*\u00020\u000bH\u0007J\f\u0010\f\u001a\u00020\n*\u00020\u000bH\u0007R\u0010\u0010\u0003\u001a\u00020\u00048\u0006X\u0004¢\u0006\u0002\n\u0000¨\u0006\r"}, d2 = {"Lokhttp3/CertificatePinner$Companion;", "", "()V", "DEFAULT", "Lokhttp3/CertificatePinner;", "pin", "", "certificate", "Ljava/security/cert/Certificate;", "sha1Hash", "Lokio/ByteString;", "Ljava/security/cert/X509Certificate;", "sha256Hash", "okhttp"}, k = 1, mv = {1, 4, 0})
      /* compiled from: CertificatePinner.kt */
      public static final class Companion {
          private Companion() {
          }
  
          public /* synthetic */ Companion(DefaultConstructorMarker $constructor_marker) {
              this();
          }
  
          @JvmStatic
          public final String pin(Certificate certificate) {
              Intrinsics.checkNotNullParameter(certificate, "certificate");
              if (certificate instanceof X509Certificate) {
                  return "sha256/" + sha256Hash((X509Certificate) certificate).base64();
              }
              throw new IllegalArgumentException("Certificate pinning requires X509 certificates".toString());
          }
  
          @JvmStatic
          public final ByteString sha1Hash(X509Certificate $this$sha1Hash) {
              Intrinsics.checkNotNullParameter($this$sha1Hash, "$this$sha1Hash");
              ByteString.Companion companion = ByteString.Companion;
              PublicKey publicKey = $this$sha1Hash.getPublicKey();
              Intrinsics.checkNotNullExpressionValue(publicKey, "publicKey");
              byte[] encoded = publicKey.getEncoded();
              Intrinsics.checkNotNullExpressionValue(encoded, "publicKey.encoded");
              return ByteString.Companion.of$default(companion, encoded, 0, 0, 3, (Object) null).sha1();
          }
  
          @JvmStatic
          public final ByteString sha256Hash(X509Certificate $this$sha256Hash) {
              Intrinsics.checkNotNullParameter($this$sha256Hash, "$this$sha256Hash");
              ByteString.Companion companion = ByteString.Companion;
              PublicKey publicKey = $this$sha256Hash.getPublicKey();
              Intrinsics.checkNotNullExpressionValue(publicKey, "publicKey");
              byte[] encoded = publicKey.getEncoded();
              Intrinsics.checkNotNullExpressionValue(encoded, "publicKey.encoded");
              return ByteString.Companion.of$default(companion, encoded, 0, 0, 3, (Object) null).sha256();
          }
      }
  
      @Metadata(bv = {1, 0, 3}, d1 = {"\u00002\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\u0018\u00002\u00020\u0001B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003¢\u0006\u0002\u0010\u0005J\u0013\u0010\u000e\u001a\u00020\u000f2\b\u0010\u0010\u001a\u0004\u0018\u00010\u0001H\u0002J\b\u0010\u0011\u001a\u00020\u0012H\u0016J\u000e\u0010\u0013\u001a\u00020\u000f2\u0006\u0010\u0014\u001a\u00020\u0015J\u000e\u0010\u0016\u001a\u00020\u000f2\u0006\u0010\u0017\u001a\u00020\u0003J\b\u0010\u0018\u001a\u00020\u0003H\u0016R\u0011\u0010\u0006\u001a\u00020\u0007¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\tR\u0011\u0010\n\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\f¨\u0006\u0019"}, d2 = {"Lokhttp3/CertificatePinner$Pin;", "", "pattern", "", "pin", "(Ljava/lang/String;Ljava/lang/String;)V", "hash", "Lokio/ByteString;", "getHash", "()Lokio/ByteString;", "hashAlgorithm", "getHashAlgorithm", "()Ljava/lang/String;", "getPattern", "equals", "", "other", "hashCode", "", "matchesCertificate", "certificate", "Ljava/security/cert/X509Certificate;", "matchesHostname", "hostname", "toString", "okhttp"}, k = 1, mv = {1, 4, 0})
      /* compiled from: 01B2 */
      public static final class Pin {
          private final ByteString hash;
          private final String hashAlgorithm;
          private final String pattern;
  
          public Pin(String pattern2, String pin) {
              Intrinsics.checkNotNullParameter(pattern2, "pattern");
              Intrinsics.checkNotNullParameter(pin, "pin");
              if ((StringsKt.startsWith$default(pattern2, "*.", false, 2, (Object) null) && StringsKt.indexOf$default((CharSequence) pattern2, "*", 1, false, 4, (Object) null) == -1) || (StringsKt.startsWith$default(pattern2, "**.", false, 2, (Object) null) && StringsKt.indexOf$default((CharSequence) pattern2, "*", 2, false, 4, (Object) null) == -1) || StringsKt.indexOf$default((CharSequence) pattern2, "*", 0, false, 6, (Object) null) == -1) {
                  String canonicalHost = HostnamesKt.toCanonicalHost(pattern2);
                  Log1F380D.a((Object) canonicalHost);
                  if (canonicalHost != null) {
                      this.pattern = canonicalHost;
                      if (StringsKt.startsWith$default(pin, "sha1/", false, 2, (Object) null)) {
                          this.hashAlgorithm = "sha1";
                          ByteString.Companion companion = ByteString.Companion;
                          String substring = pin.substring("sha1/".length());
                          Intrinsics.checkNotNullExpressionValue(substring, "(this as java.lang.String).substring(startIndex)");
                          ByteString decodeBase64 = companion.decodeBase64(substring);
                          if (decodeBase64 != null) {
                              this.hash = decodeBase64;
                              return;
                          }
                          throw new IllegalArgumentException("Invalid pin hash: " + pin);
                      } else if (StringsKt.startsWith$default(pin, "sha256/", false, 2, (Object) null)) {
                          this.hashAlgorithm = "sha256";
                          ByteString.Companion companion2 = ByteString.Companion;
                          String substring2 = pin.substring("sha256/".length());
                          Intrinsics.checkNotNullExpressionValue(substring2, "(this as java.lang.String).substring(startIndex)");
                          ByteString decodeBase642 = companion2.decodeBase64(substring2);
                          if (decodeBase642 != null) {
                              this.hash = decodeBase642;
                              return;
                          }
                          throw new IllegalArgumentException("Invalid pin hash: " + pin);
                      } else {
                          throw new IllegalArgumentException("pins must start with 'sha256/' or 'sha1/': " + pin);
                      }
                  } else {
                      throw new IllegalArgumentException("Invalid pattern: " + pattern2);
                  }
              } else {
                  throw new IllegalArgumentException(("Unexpected pattern: " + pattern2).toString());
              }
          }
  
          public boolean equals(Object other) {
              if (this == other) {
                  return true;
              }
              return (other instanceof Pin) && !(Intrinsics.areEqual((Object) this.pattern, (Object) ((Pin) other).pattern) ^ true) && !(Intrinsics.areEqual((Object) this.hashAlgorithm, (Object) ((Pin) other).hashAlgorithm) ^ true) && !(Intrinsics.areEqual((Object) this.hash, (Object) ((Pin) other).hash) ^ true);
          }
  
          public final ByteString getHash() {
              return this.hash;
          }
  
          public final String getHashAlgorithm() {
              return this.hashAlgorithm;
          }
  
          public final String getPattern() {
              return this.pattern;
          }
  
          public int hashCode() {
              return (((this.pattern.hashCode() * 31) + this.hashAlgorithm.hashCode()) * 31) + this.hash.hashCode();
          }
  
          public final boolean matchesCertificate(X509Certificate certificate) {
              Intrinsics.checkNotNullParameter(certificate, "certificate");
              String str = this.hashAlgorithm;
              switch (str.hashCode()) {
                  case -903629273:
                      if (str.equals("sha256")) {
                          return Intrinsics.areEqual((Object) this.hash, (Object) CertificatePinner.Companion.sha256Hash(certificate));
                      }
                      break;
                  case 3528965:
                      if (str.equals("sha1")) {
                          return Intrinsics.areEqual((Object) this.hash, (Object) CertificatePinner.Companion.sha1Hash(certificate));
                      }
                      break;
              }
              return false;
          }
  
          public final boolean matchesHostname(String hostname) {
              Intrinsics.checkNotNullParameter(hostname, "hostname");
              if (StringsKt.startsWith$default(this.pattern, "**.", false, 2, (Object) null)) {
                  int length = this.pattern.length() - 3;
                  int length2 = hostname.length() - length;
                  if (StringsKt.regionMatches$default(hostname, hostname.length() - length, this.pattern, 3, length, false, 16, (Object) null)) {
                      return length2 == 0 || hostname.charAt(length2 + -1) == '.';
                  }
                  return false;
              } else if (!StringsKt.startsWith$default(this.pattern, "*.", false, 2, (Object) null)) {
                  return Intrinsics.areEqual((Object) hostname, (Object) this.pattern);
              } else {
                  int length3 = this.pattern.length() - 1;
                  return StringsKt.regionMatches$default(hostname, hostname.length() - length3, this.pattern, 1, length3, false, 16, (Object) null) && StringsKt.lastIndexOf$default((CharSequence) hostname, '.', (hostname.length() - length3) + -1, false, 4, (Object) null) == -1;
              }
          }
  
          public String toString() {
              return this.hashAlgorithm + '/' + this.hash.base64();
          }
      }
  
      public CertificatePinner(Set<Pin> pins2, CertificateChainCleaner certificateChainCleaner2) {
          Intrinsics.checkNotNullParameter(pins2, "pins");
          this.pins = pins2;
          this.certificateChainCleaner = certificateChainCleaner2;
      }
  
      /* JADX WARNING: Illegal instructions before constructor call */
      /* Code decompiled incorrectly, please refer to instructions dump. */
      public /* synthetic */ CertificatePinner(java.util.Set r1, okhttp3.internal.tls.CertificateChainCleaner r2, int r3, kotlin.jvm.internal.DefaultConstructorMarker r4) {
          /*
              r0 = this;
              r3 = r3 & 2
              if (r3 == 0) goto L_0x0008
              r2 = 0
              r3 = r2
              okhttp3.internal.tls.CertificateChainCleaner r3 = (okhttp3.internal.tls.CertificateChainCleaner) r3
          L_0x0008:
              r0.<init>(r1, r2)
              return
          */
          throw new UnsupportedOperationException("Method not decompiled: okhttp3.CertificatePinner.<init>(java.util.Set, okhttp3.internal.tls.CertificateChainCleaner, int, kotlin.jvm.internal.DefaultConstructorMarker):void");
      }
  
      @JvmStatic
      public static final String pin(Certificate certificate) {
          return Companion.pin(certificate);
      }
  
      @JvmStatic
      public static final ByteString sha1Hash(X509Certificate x509Certificate) {
          return Companion.sha1Hash(x509Certificate);
      }
  
      @JvmStatic
      public static final ByteString sha256Hash(X509Certificate x509Certificate) {
          return Companion.sha256Hash(x509Certificate);
      }
  
      public final void check(String hostname, List<? extends Certificate> peerCertificates) throws SSLPeerUnverifiedException {
          Intrinsics.checkNotNullParameter(hostname, "hostname");
          Intrinsics.checkNotNullParameter(peerCertificates, "peerCertificates");
          check$okhttp(hostname, new CertificatePinner$check$1(this, peerCertificates, hostname));
      }
  
      @Deprecated(message = "replaced with {@link #check(String, List)}.", replaceWith = @ReplaceWith(expression = "check(hostname, peerCertificates.toList())", imports = {}))
      public final void check(String hostname, Certificate... peerCertificates) throws SSLPeerUnverifiedException {
          Intrinsics.checkNotNullParameter(hostname, "hostname");
          Intrinsics.checkNotNullParameter(peerCertificates, "peerCertificates");
          check(hostname, (List<? extends Certificate>) ArraysKt.toList((T[]) peerCertificates));
      }
  
      public final void check$okhttp(String hostname, Function0<? extends List<? extends X509Certificate>> cleanedPeerCertificatesFn) {
          Pin next;
          Intrinsics.checkNotNullParameter(hostname, "hostname");
          Intrinsics.checkNotNullParameter(cleanedPeerCertificatesFn, "cleanedPeerCertificatesFn");
          List<Pin> findMatchingPins = findMatchingPins(hostname);
          if (!findMatchingPins.isEmpty()) {
              List<X509Certificate> list = (List) cleanedPeerCertificatesFn.invoke();
              for (X509Certificate x509Certificate : list) {
                  ByteString byteString = null;
                  ByteString byteString2 = null;
                  Iterator<Pin> it = findMatchingPins.iterator();
                  while (true) {
                      if (it.hasNext()) {
                          next = it.next();
                          String hashAlgorithm = next.getHashAlgorithm();
                          switch (hashAlgorithm.hashCode()) {
                              case -903629273:
                                  if (!hashAlgorithm.equals("sha256")) {
                                      break;
                                  } else {
                                      if (byteString2 == null) {
                                          byteString2 = Companion.sha256Hash(x509Certificate);
                                      }
                                      if (!Intrinsics.areEqual((Object) next.getHash(), (Object) byteString2)) {
                                          break;
                                      } else {
                                          return;
                                      }
                                  }
                              case 3528965:
                                  if (!hashAlgorithm.equals("sha1")) {
                                      break;
                                  } else {
                                      if (byteString == null) {
                                          byteString = Companion.sha1Hash(x509Certificate);
                                      }
                                      if (!Intrinsics.areEqual((Object) next.getHash(), (Object) byteString)) {
                                          break;
                                      } else {
                                          return;
                                      }
                                  }
                          }
                      }
                  }
                  throw new AssertionError("unsupported hashAlgorithm: " + next.getHashAlgorithm());
              }
              StringBuilder sb = new StringBuilder();
              StringBuilder sb2 = sb;
              sb2.append("Certificate pinning failure!");
              sb2.append("\n  Peer certificate chain:");
              for (X509Certificate x509Certificate2 : list) {
                  sb2.append("\n    ");
                  sb2.append(Companion.pin(x509Certificate2));
                  sb2.append(": ");
                  Principal subjectDN = x509Certificate2.getSubjectDN();
                  Intrinsics.checkNotNullExpressionValue(subjectDN, "element.subjectDN");
                  sb2.append(subjectDN.getName());
              }
              sb2.append("\n  Pinned certificates for ");
              sb2.append(hostname);
              sb2.append(":");
              for (Pin append : findMatchingPins) {
                  sb2.append("\n    ");
                  sb2.append(append);
              }
              String sb3 = sb.toString();
              Intrinsics.checkNotNullExpressionValue(sb3, "StringBuilder().apply(builderAction).toString()");
              throw new SSLPeerUnverifiedException(sb3);
          }
      }
  
      public boolean equals(Object other) {
          return (other instanceof CertificatePinner) && Intrinsics.areEqual((Object) ((CertificatePinner) other).pins, (Object) this.pins) && Intrinsics.areEqual((Object) ((CertificatePinner) other).certificateChainCleaner, (Object) this.certificateChainCleaner);
      }
  
      public final List<Pin> findMatchingPins(String hostname) {
          Intrinsics.checkNotNullParameter(hostname, "hostname");
          List<Pin> emptyList = CollectionsKt.emptyList();
          for (Object next : this.pins) {
              if (((Pin) next).matchesHostname(hostname)) {
                  if (emptyList.isEmpty()) {
                      emptyList = new ArrayList<>();
                  }
                  if (emptyList != null) {
                      TypeIntrinsics.asMutableList(emptyList).add(next);
                  } else {
                      throw new NullPointerException("null cannot be cast to non-null type kotlin.collections.MutableList<T>");
                  }
              }
          }
          return emptyList;
      }
  
      public final CertificateChainCleaner getCertificateChainCleaner$okhttp() {
          return this.certificateChainCleaner;
      }
  
      public final Set<Pin> getPins() {
          return this.pins;
      }
  
      public int hashCode() {
          int hashCode = ((37 * 41) + this.pins.hashCode()) * 41;
          CertificateChainCleaner certificateChainCleaner2 = this.certificateChainCleaner;
          return hashCode + (certificateChainCleaner2 != null ? certificateChainCleaner2.hashCode() : 0);
      }
  
      public final CertificatePinner withCertificateChainCleaner$okhttp(CertificateChainCleaner certificateChainCleaner2) {
          Intrinsics.checkNotNullParameter(certificateChainCleaner2, "certificateChainCleaner");
          return Intrinsics.areEqual((Object) this.certificateChainCleaner, (Object) certificateChainCleaner2) ? this : new CertificatePinner(this.pins, certificateChainCleaner2);
      }
  }
  