Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 22 for Oid (0.26 seconds)

  1. src/test/java/jcifs/spnego/NegTokenInitTest.java

                assertEquals(2, seq.size(), "Sequence should contain OID and [0] NegTokenInit");
                assertTrue(seq.getObjectAt(0) instanceof ASN1ObjectIdentifier, "First element should be OID");
                ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier) seq.getObjectAt(0);
                assertEquals(SPNEGO_OID_STR, oid.getId(), "OID should be SPNEGO");
            }
        }
    
        @Nested
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21K bytes
    - Click Count (0)
  2. src/main/java/jcifs/pac/kerberos/KerberosConstants.java

     */
    package jcifs.pac.kerberos;
    
    /**
     * Constants used in Kerberos protocol implementation.
     */
    public interface KerberosConstants {
    
        /** Kerberos OID identifier */
        String KERBEROS_OID = "1.2.840.113554.1.2.2";
        /** Kerberos protocol version */
        String KERBEROS_VERSION = "5";
    
        /** Kerberos AP-REQ message type */
        String KERBEROS_AP_REQ = "14";
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/SSPContext.java

         * @param mechanism the security mechanism OID to check
         * @return whether the specified mechanism is supported
         */
        boolean isSupported(ASN1ObjectIdentifier mechanism);
    
        /**
         * Checks whether the specified mechanism is the preferred mechanism.
         * @param selectedMech the selected mechanism OID
         * @return whether the specified mechanism is preferred
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

        @MethodSource("preferredMechData_nonAnonymous")
        void isPreferredMech_nonAnonymous(ASN1ObjectIdentifier oid, boolean expected) {
            Kerb5Authenticator auth = new Kerb5Authenticator(new Subject());
            assertEquals(expected, auth.isPreferredMech(oid));
        }
    
        static Object[][] preferredMechData_anonymous() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  5. tests/test_security_openid_connect.py

    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    from pydantic import BaseModel
    
    app = FastAPI()
    
    oid = OpenIdConnect(openIdConnectUrl="/openid")
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str = Security(oid)):
        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  6. tests/test_security_openid_connect_description.py

    from inline_snapshot import snapshot
    from pydantic import BaseModel
    
    app = FastAPI()
    
    oid = OpenIdConnect(
        openIdConnectUrl="/openid", description="OpenIdConnect security scheme"
    )
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str = Security(oid)):
        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  7. schema/index_test.go

    		},
    		{
    			Name:   "idx_id",
    			Fields: []schema.IndexOption{{Field: &schema.Field{Name: "MemberNumber"}}, {Field: &schema.Field{Name: "OID", UniqueIndex: "idx_oid"}}},
    		},
    		{
    			Name:   "idx_oid",
    			Class:  "UNIQUE",
    			Fields: []schema.IndexOption{{Field: &schema.Field{Name: "OID", UniqueIndex: "idx_oid"}}},
    		},
    		{
    			Name:   "type",
    			Type:   "",
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Dec 06 02:27:44 GMT 2024
    - 7.9K bytes
    - Click Count (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

        return result
      }
    }
    
    internal data class AlgorithmIdentifier(
      /** An OID string like "1.2.840.113549.1.1.11" for sha256WithRSAEncryption. */
      val algorithm: String,
      /** Parameters of a type implied by [algorithm]. */
      val parameters: Any?,
    )
    
    internal data class AttributeTypeAndValue(
      /** An OID string like "2.5.4.11" for organizationalUnitName. */
      val type: String,
      val value: Any?,
    )
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.4K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/SpnegoContext.java

        static {
            try {
                SPNEGO_MECH_OID = new ASN1ObjectIdentifier("1.3.6.1.5.5.2");
            } catch (final IllegalArgumentException e) {
                log.error("Failed to initialize OID", e);
            }
        }
    
        private final SSPContext mechContext;
    
        private boolean firstResponse = true;
        private boolean completed;
    
        private ASN1ObjectIdentifier[] mechs;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/NtlmContext.java

        /**
         * The NTLMSSP OID (1.3.6.1.4.1.311.2.2.10) used in SPNEGO negotiation.
         */
        public static ASN1ObjectIdentifier NTLMSSP_OID;
    
        static {
            try {
                NTLMSSP_OID = new ASN1ObjectIdentifier("1.3.6.1.4.1.311.2.2.10");
            } catch (final IllegalArgumentException e) {
                log.error("Failed to parse OID", e);
            }
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 17.3K bytes
    - Click Count (1)
Back to Top