Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for security (0.23 sec)

  1. docs/changelogs/changelog_4x.md

    
    ## Version 4.9.0
    
    _2020-09-11_
    
    **With this release, `okhttp-tls` no longer depends on Bouncy Castle and doesn't install the
    Bouncy Castle security provider.** If you still need it, you can do it yourself:
    
    ```
    Security.addProvider(BouncyCastleProvider())
    ```
    
    You will also need to configure this dependency:
    
    ```
    dependencies {
      implementation "org.bouncycastle:bcprov-jdk15on:1.65"
    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)
  2. 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
    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)
  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-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt

    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.matchesPredicate
    import java.net.InetAddress
    import java.net.InetSocketAddress
    import java.net.ServerSocket
    import java.security.PrivateKey
    import java.util.concurrent.ExecutorService
    import java.util.concurrent.Executors
    import java.util.concurrent.Future
    import javax.net.ServerSocketFactory
    import javax.net.SocketFactory
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

    import java.net.ConnectException
    import java.net.HttpURLConnection
    import java.net.ProtocolException
    import java.net.Proxy
    import java.net.Socket
    import java.net.UnknownServiceException
    import java.security.cert.X509Certificate
    import java.util.concurrent.TimeUnit
    import javax.net.ssl.SSLPeerUnverifiedException
    import javax.net.ssl.SSLSocket
    import kotlin.concurrent.withLock
    import okhttp3.CertificatePinner
    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)
  7. 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)
  8. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

    import java.net.ProxySelector
    import java.net.Socket
    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
    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)
  9. okcurl/src/main/kotlin/okhttp3/curl/logging/LoggingUtil.kt

              handler.formatter = OneLineLogFormat()
              val activeLogger = getLogger("")
              activeLogger.addHandler(handler)
              activeLogger.level = Level.ALL
    
              getLogger("jdk.event.security").level = Level.INFO
              getLogger("org.conscrypt").level = Level.INFO
            } else {
              if (showHttp2Frames) {
                val activeLogger = getLogger(Http2::class.java.name)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.7K bytes
    - Viewed (1)
  10. 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)
Back to top