Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 844 for severity (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/BasicTrustRootIndex.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.tls
    
    import java.security.cert.X509Certificate
    import javax.security.auth.x500.X500Principal
    
    /** A simple index that of trusted root certificates that have been loaded into memory. */
    class BasicTrustRootIndex(
      vararg caCerts: X509Certificate,
    ) : TrustRootIndex {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

    import com.google.common.testing.NullPointerTester;
    import java.security.Key;
    import java.util.Arrays;
    import javax.crypto.Mac;
    import javax.crypto.SecretKey;
    import javax.crypto.spec.SecretKeySpec;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    import sun.security.jca.ProviderList;
    import sun.security.jca.Providers;
    
    /**
     * Tests for the MacHashFunction.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java

         * @param securityMode
         *            the security mode flags for the session
         * @param capabilities
         *            the client capabilities
         * @param previousSessionid
         *            the previous session ID for reconnection (or 0 for new session)
         * @param token
         *            the security token for authentication
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/tutorial/security/oauth2-jwt.md

    建立一個權杖有效期的變數。
    
    定義一個用於權杖端點回應的 Pydantic Model。
    
    建立一個工具函式來產生新的 access token。
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[4,7,13:15,29:31,82:90] *}
    
    ## 更新相依項目 { #update-the-dependencies }
    
    更新 `get_current_user`,讓它仍接收相同的權杖,但這次改用 JWT 權杖。
    
    解碼收到的權杖、驗證它,並回傳目前的使用者。
    
    如果權杖無效,立即回傳一個 HTTP 錯誤。
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[93:110] *}
    
    ## 更新 `/token` 路徑操作 { #update-the-token-path-operation }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  5. docs/zh/docs/tutorial/security/oauth2-jwt.md

    创建一个变量用于设置令牌的过期时间。
    
    定义一个用于令牌端点响应的 Pydantic 模型。
    
    创建一个生成新访问令牌的工具函数。
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[4,7,13:15,29:31,82:90] *}
    
    ## 更新依赖项 { #update-the-dependencies }
    
    更新 `get_current_user` 以接收与之前相同的令牌,但这次使用的是 JWT 令牌。
    
    解码接收到的令牌,进行校验,并返回当前用户。
    
    如果令牌无效,立即返回一个 HTTP 错误。
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[93:110] *}
    
    ## 更新 `/token` 路径操作 { #update-the-token-path-operation }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

            return ("SmbComNegotiateResponse[" + super.toString() + ",wordCount=" + wordCount + ",dialectIndex=" + dialectIndex
                    + ",securityMode=0x" + Hexdump.toHexString(server.securityMode, 1) + ",security="
                    + (server.security == SECURITY_SHARE ? "share" : "user") + ",encryptedPasswords=" + server.encryptedPasswords
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 6K bytes
    - Click Count (0)
  7. .github/workflows/scorecards-analysis.yml

    # See the License for the specific language governing permissions and
    # limitations under the License.
    # ============================================================================
    
    name: Scorecards supply-chain security
    on:
      # For Branch-Protection check. Only the default branch is supported. See
      # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection
      branch_protection_rule:
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Jan 01 08:09:03 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  8. src/main/java/jcifs/util/SecureCredentialStorage.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.util;
    
    import java.security.GeneralSecurityException;
    import java.security.SecureRandom;
    import java.security.spec.KeySpec;
    import java.util.Arrays;
    import java.util.Base64;
    
    import javax.crypto.Cipher;
    import javax.crypto.SecretKey;
    import javax.crypto.SecretKeyFactory;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  9. .github/ISSUE_TEMPLATE/bug-report.yaml

          description: |
            Please provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner.
            If this matter is security related, please disclose it privately via https://kubernetes.io/security
        validations:
          required: true
    
      - type: textarea
        id: expected
        attributes:
          label: What did you expect to happen?
        validations:
          required: true
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Mon Feb 28 09:34:43 GMT 2022
    - 2.2K bytes
    - Click Count (0)
  10. docs_src/security/tutorial003_an_py310.py

    from typing import Annotated
    
    from fastapi import Depends, FastAPI, HTTPException, status
    from fastapi.security import OAuth2PasswordBearer, OAuth2PasswordRequestForm
    from pydantic import BaseModel
    
    fake_users_db = {
        "johndoe": {
            "username": "johndoe",
            "full_name": "John Doe",
            "email": "******@****.***",
            "hashed_password": "fakehashedsecret",
            "disabled": False,
        },
        "alice": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Nov 24 19:03:06 GMT 2025
    - 2.5K bytes
    - Click Count (0)
Back to Top