Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Gert (0.21 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

     */
    package okhttp3.internal.connection
    
    import java.io.IOException
    import java.lang.ref.Reference
    import java.net.Proxy
    import java.net.Socket
    import java.net.SocketException
    import java.security.cert.X509Certificate
    import java.util.concurrent.TimeUnit.MILLISECONDS
    import java.util.concurrent.locks.ReentrantLock
    import javax.net.ssl.SSLPeerUnverifiedException
    import javax.net.ssl.SSLSocket
    import kotlin.concurrent.withLock
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

              val cert = peerCertificates[0] as X509Certificate
              throw SSLPeerUnverifiedException(
                """
                |Hostname ${address.url.host} not verified:
                |    certificate: ${CertificatePinner.pin(cert)}
                |    DN: ${cert.subjectDN.name}
                |    subjectAltNames: ${OkHostnameVerifier.allSubjectAltNames(cert)}
                """.trimMargin(),
              )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

     *  See the License for the specific language governing permissions and
     *  limitations under the License.
     */
    package okhttp3.internal.tls
    
    import java.security.cert.CertificateParsingException
    import java.security.cert.X509Certificate
    import java.util.Locale
    import javax.net.ssl.HostnameVerifier
    import javax.net.ssl.SSLException
    import javax.net.ssl.SSLSession
    import okhttp3.internal.canParseAsIpAddress
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Cache.kt

     */
    package okhttp3
    
    import java.io.Closeable
    import java.io.File
    import java.io.Flushable
    import java.io.IOException
    import java.security.cert.Certificate
    import java.security.cert.CertificateEncodingException
    import java.security.cert.CertificateException
    import java.security.cert.CertificateFactory
    import java.util.TreeSet
    import okhttp3.HttpUrl.Companion.toHttpUrlOrNull
    import okhttp3.MediaType.Companion.toMediaTypeOrNull
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CallTest.kt

        )
        response2.body.close()
      }
    
      @Test
      fun unmatchingPinnedCertificate() {
        enableTls()
        server.enqueue(MockResponse())
    
        // Pin publicobject.com's cert.
        client =
          client.newBuilder()
            .certificatePinner(
              CertificatePinner.Builder()
                .add(server.hostName, "sha1/DmxUShsZuNiqPQsX2Oi9uv2sCnw=")
                .build(),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

    import java.net.HttpURLConnection.HTTP_UNAUTHORIZED
    import java.net.HttpURLConnection.HTTP_UNAVAILABLE
    import java.net.ProtocolException
    import java.net.Proxy
    import java.net.SocketTimeoutException
    import java.security.cert.CertificateException
    import javax.net.ssl.SSLHandshakeException
    import javax.net.ssl.SSLPeerUnverifiedException
    import okhttp3.Interceptor
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.Response
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12.1K bytes
    - Viewed (4)
  7. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

    import java.net.URI
    import java.net.URL
    import java.nio.charset.Charset
    import java.security.KeyPair
    import java.security.KeyPairGenerator
    import java.security.Principal
    import java.security.cert.Certificate
    import java.security.cert.X509Certificate
    import java.time.Duration
    import java.time.Instant
    import java.util.Date
    import java.util.concurrent.ExecutorService
    import java.util.concurrent.Executors
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 46.5K bytes
    - Viewed (4)
  8. 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)
  9. okhttp/api/okhttp.api

    	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;
    	public static final fun sha1Hash (Ljava/security/cert/X509Certificate;)Lokio/ByteString;
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

    import java.net.ProtocolException
    import java.net.Proxy
    import java.net.ServerSocket
    import java.net.Socket
    import java.net.SocketException
    import java.security.SecureRandom
    import java.security.cert.CertificateException
    import java.security.cert.X509Certificate
    import java.util.Collections
    import java.util.Locale
    import java.util.concurrent.ConcurrentHashMap
    import java.util.concurrent.CountDownLatch
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 37.4K bytes
    - Viewed (0)
Back to top