Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 828 for securely (0.08 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt

     * limitations under the License.
     */
    @file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
    
    package okhttp3.tls
    
    import java.security.KeyStoreException
    import java.security.SecureRandom
    import java.security.cert.X509Certificate
    import java.util.Collections
    import javax.net.ssl.HostnameVerifier
    import javax.net.ssl.KeyManager
    import javax.net.ssl.SSLContext
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk9Platform.kt

        // Not supported due to access checks on JDK 9+:
        // java.lang.reflect.InaccessibleObjectException: Unable to make member of class
        // sun.security.ssl.SSLSocketFactoryImpl accessible:  module java.base does not export
        // sun.security.ssl to unnamed module @xxx
        throw UnsupportedOperationException(
          "clientBuilder.sslSocketFactory(SSLSocketFactory) not supported on JDK 8 (>= 252) or JDK 9+",
        )
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (1)
  3. tests/test_tutorial/test_security/test_tutorial001.py

    from fastapi.testclient import TestClient
    
    from docs_src.security.tutorial001 import app
    
    client = TestClient(app)
    
    
    def test_no_token():
        response = client.get("/items")
        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "Not authenticated"}
        assert response.headers["WWW-Authenticate"] == "Bearer"
    
    
    def test_token():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.tls.internal
    
    import java.io.InputStream
    import java.security.KeyStore
    import java.security.cert.Certificate
    import java.security.cert.X509Certificate
    import javax.net.ssl.KeyManagerFactory
    import javax.net.ssl.TrustManagerFactory
    import javax.net.ssl.X509ExtendedTrustManager
    import javax.net.ssl.X509KeyManager
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. istioctl/pkg/internaldebug/internal-debug.go

      # SECURITY OPTIONS
    
      # Retrieve syncz debug information directly from the control plane, using token security
      # (This is the usual way to get the debug information with an out-of-cluster control plane.)
      istioctl x internal-debug syncz --xds-address istio.cloudprovider.example.com:15012
    
      # Retrieve syncz debug information via Kubernetes config, using token security
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jul 12 11:30:24 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. tests/test_security_oauth2.py

    from dirty_equals import IsDict
    from fastapi import Depends, FastAPI, Security
    from fastapi.security import OAuth2, OAuth2PasswordRequestFormStrict
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    reusable_oauth2 = OAuth2(
        flows={
            "password": {
                "tokenUrl": "token",
                "scopes": {"read:users": "Read the users", "write:users": "Create users"},
            }
        }
    )
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. 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;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  8. samples/tlssurvey/src/main/kotlin/okhttp3/survey/RunSurvey.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.survey
    
    import java.security.Security
    import okhttp3.Cache
    import okhttp3.OkHttpClient
    import okhttp3.survey.ssllabs.SslLabsClient
    import okhttp3.survey.types.Client
    import okhttp3.survey.types.SuiteId
    import okio.FileSystem
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. docs/zh/docs/advanced/security/index.md

    # 高级安全
    
    ## 附加特性
    
    除 [教程 - 用户指南: 安全性](../../tutorial/security/index.md){.internal-link target=_blank} 中涵盖的功能之外,还有一些额外的功能来处理安全性.
    
    /// tip | "小贴士"
    
    接下来的章节 **并不一定是 "高级的"**.
    
    而且对于你的使用场景来说,解决方案很可能就在其中。
    
    ///
    
    ## 先阅读教程
    
    接下来的部分假设你已经阅读了主要的 [教程 - 用户指南: 安全性](../../tutorial/security/index.md){.internal-link target=_blank}.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 607 bytes
    - Viewed (0)
  10. tests/test_tutorial/test_security/test_tutorial001_an.py

    from fastapi.testclient import TestClient
    
    from docs_src.security.tutorial001_an import app
    
    client = TestClient(app)
    
    
    def test_no_token():
        response = client.get("/items")
        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "Not authenticated"}
        assert response.headers["WWW-Authenticate"] == "Bearer"
    
    
    def test_token():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top