- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for findMatchingPins (0.1 sec)
-
okhttp/src/test/java/okhttp3/CertificatePinnerKotlinTest.kt
assertThat(certificatePinner.findMatchingPins("notexample.com")).isEmpty() assertThat(certificatePinner.findMatchingPins("example.com")).isEmpty() assertThat(certificatePinner.findMatchingPins("a.b.example.com")).isEmpty() assertThat(certificatePinner.findMatchingPins("ple.com")).isEmpty() assertThat(certificatePinner.findMatchingPins("com")).isEmpty()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt
.map { it as X509Certificate } } } internal fun check( hostname: String, cleanedPeerCertificatesFn: () -> List<X509Certificate>, ) { val pins = findMatchingPins(hostname) if (pins.isEmpty()) return val peerCertificates = cleanedPeerCertificatesFn() for (peerCertificate in peerCertificates) { // Lazily compute the hashes for each certificate.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 14.2K bytes - Viewed (0) -
okhttp/api/okhttp.api
public final fun check (Ljava/lang/String;Ljava/util/List;)V public final fun check (Ljava/lang/String;[Ljava/security/cert/Certificate;)V public fun equals (Ljava/lang/Object;)Z public final fun findMatchingPins (Ljava/lang/String;)Ljava/util/List; public final fun getPins ()Ljava/util/Set; public fun hashCode ()I public static final fun pin (Ljava/security/cert/Certificate;)Ljava/lang/String;
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:41:01 UTC 2024 - 70.2K bytes - Viewed (0)