Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for bert (0.18 sec)

  1. okhttp/src/main/kotlin/okhttp3/Authenticator.kt

    fun interface Authenticator {
      /**
       * Returns a request that includes a credential to satisfy an authentication challenge in
       * [response]. Returns null if the challenge cannot be satisfied.
       *
       * The route is best effort, it currently may not always be provided even when logically
       * available. It may also not be provided when an authenticator is re-used manually in an
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_4x.md

        coders call this and we don't want their users to suffer.
    
    
    ## Version 4.0.0
    
    _2019-06-26_
    
    **This release upgrades OkHttp to Kotlin.** We tried our best to make fast and safe to upgrade
    from OkHttp 3.x. We wrote an [upgrade guide][upgrading_to_okhttp_4] to help with the migration and a
    [blog post][okhttp4_blog_post] to explain it.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/tls/BasicTrustRootIndex.kt

        }
        this.subjectToCaCerts = map
      }
    
      override fun findByIssuerAndSignature(cert: X509Certificate): X509Certificate? {
        val issuer = cert.issuerX500Principal
        val subjectCaCerts = subjectToCaCerts[issuer] ?: return null
    
        return subjectCaCerts.firstOrNull {
          try {
            cert.verify(it.publicKey)
            return@firstOrNull true
          } catch (_: Exception) {
            return@firstOrNull false
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/tls/TrustRootIndex.kt

     * limitations under the License.
     */
    package okhttp3.internal.tls
    
    import java.security.cert.X509Certificate
    
    fun interface TrustRootIndex {
      /** Returns the trusted CA certificate that signed [cert]. */
      fun findByIssuerAndSignature(cert: X509Certificate): X509Certificate?
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 843 bytes
    - Viewed (0)
  5. android-test/src/androidTest/java/okhttp/android/test/letsencrypt/LetsEncryptClientTest.kt

     * limitations under the License.
     */
    package okhttp.android.test.letsencrypt
    
    import android.os.Build
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import java.security.cert.X509Certificate
    import okhttp3.OkHttpClient
    import okhttp3.Protocol
    import okhttp3.Request
    import okhttp3.tls.HandshakeCertificates
    import okhttp3.tls.decodeCertificatePem
    import org.junit.jupiter.api.Tag
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.4K bytes
    - Viewed (1)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/Certificates.kt

     * limitations under the License.
     */
    
    @file:JvmName("Certificates")
    
    package okhttp3.tls
    
    import java.security.GeneralSecurityException
    import java.security.cert.CertificateFactory
    import java.security.cert.X509Certificate
    import okio.Buffer
    import okio.ByteString
    import okio.ByteString.Companion.toByteString
    
    /**
     * Decodes a multiline string that contains a [certificate][certificatePem] which is
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.8K bytes
    - Viewed (2)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/FakeSSLSession.kt

     * the License.
     */
    package okhttp3
    
    import java.security.Principal
    import java.security.cert.Certificate
    import javax.net.ssl.SSLPeerUnverifiedException
    import javax.net.ssl.SSLSession
    import javax.net.ssl.SSLSessionContext
    import javax.security.cert.X509Certificate
    
    class FakeSSLSession(vararg val certificates: Certificate) : SSLSession {
      override fun getApplicationBufferSize(): Int {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  8. docs/security/security.md

    	 Hash=a79b48fd6a1f31699c788b50c97d0b98
    
    uid Square Clippy <******@****.***>
    sig  sig  66b50994442d2d40 2021-07-09T14:50:19Z 2041-07-04T14:50:19Z ____________________ [selfsig]
    ```
    
    The best way to verify artifacts is [automatically with Gradle][gradle_verification].
    
    
    [gradle_verification]: https://docs.gradle.org/current/userguide/dependency_verification.html#sec:signature-verification
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 27 10:19:17 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/connection/RetryTlsHandshake.kt

     * limitations under the License.
     */
    package okhttp3.internal.connection
    
    import java.io.InterruptedIOException
    import java.net.ProtocolException
    import java.security.cert.CertificateException
    import javax.net.ssl.SSLException
    import javax.net.ssl.SSLHandshakeException
    import javax.net.ssl.SSLPeerUnverifiedException
    import okio.IOException
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 07 16:05:34 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/CheckHandshake.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.recipes;
    
    import java.io.IOException;
    import java.security.cert.Certificate;
    import java.util.Collections;
    import java.util.Set;
    import okhttp3.CertificatePinner;
    import okhttp3.Interceptor;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 2.1K bytes
    - Viewed (0)
Back to top