Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for oid (0.13 sec)

  1. src/main/java/jcifs/smb/MIEName.java

            if ( buf.length < i + len ) {
                throw new IllegalArgumentException();
            }
            this.name = new String(buf, i, len);
    
        }
    
    
        MIEName ( ASN1ObjectIdentifier oid, String name ) {
            this.oid = oid;
            this.name = name;
        }
    
    
        /*
         * (non-Javadoc)
         * 
         * @see java.lang.Object#equals(java.lang.Object)
         */
        @Override
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/Kerb5Context.java

        private static final ASN1ObjectIdentifier KRB5_MECH_OID;
        private static final ASN1ObjectIdentifier KRB5_MS_MECH_OID;
        static final ASN1ObjectIdentifier[] SUPPORTED_MECHS;
        private static final Oid JGSS_KRB5_NAME_OID;
        private static final Oid JGSS_KRB5_MECH_OID;
    
        static {
            KRB5_MECH_OID = new ASN1ObjectIdentifier("1.2.840.113554.1.2.2");
            KRB5_MS_MECH_OID = new ASN1ObjectIdentifier("1.2.840.48018.1.2.2");
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Aug 02 08:22:42 GMT 2018
    - 13.9K bytes
    - Viewed (0)
  3. tests/test_security_openid_connect.py

    from fastapi.testclient import TestClient
    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")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  4. tests/test_security_openid_connect_description.py

    from fastapi.testclient import TestClient
    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")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  5. internal/config/certsinfo.go

    func printName(names []pkix.AttributeTypeAndValue, buf *strings.Builder) []string {
    	values := []string{}
    	for _, name := range names {
    		oid := name.Type
    		//nolint:gocritic
    		if len(oid) == 4 && oid[0] == 2 && oid[1] == 5 && oid[2] == 4 {
    			switch oid[3] {
    			case 3:
    				values = append(values, fmt.Sprintf("CN=%s", name.Value))
    			case 6:
    				values = append(values, fmt.Sprintf("C=%s", name.Value))
    			case 8:
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Nov 16 17:28:29 GMT 2021
    - 3.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SpnegoContext.java

        private static ASN1ObjectIdentifier SPNEGO_MECH_OID;
    
        static {
            try {
                SPNEGO_MECH_OID = new ASN1ObjectIdentifier("1.3.6.1.5.5.2");
            }
            catch ( IllegalArgumentException e ) {
                log.error("Failed to initialize OID", e);
            }
        }
    
        private SSPContext mechContext;
    
        private boolean firstResponse = true;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Jan 04 04:18:31 GMT 2021
    - 14.8K bytes
    - Viewed (0)
  7. 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?,
    )
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  8. api/go1.22.txt

    pkg crypto/x509, func OIDFromInts([]uint64) (OID, error) #60665
    pkg crypto/x509, method (*CertPool) AddCertWithConstraint(*Certificate, func([]*Certificate) error) #57178
    pkg crypto/x509, method (OID) Equal(OID) bool #60665
    pkg crypto/x509, method (OID) EqualASN1OID(asn1.ObjectIdentifier) bool #60665
    pkg crypto/x509, method (OID) String() string #60665
    pkg crypto/x509, type Certificate struct, Policies []OID #60665
    pkg crypto/x509, type OID struct #60665
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 20:54:27 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  9. schema/index_test.go

    			Name:   "idx_id",
    			Fields: []schema.IndexOption{{Field: &schema.Field{Name: "MemberNumber"}}, {Field: &schema.Field{Name: "OID", UniqueIndex: "idx_oid"}}},
    		},
    		"idx_oid": {
    			Name:   "idx_oid",
    			Class:  "UNIQUE",
    			Fields: []schema.IndexOption{{Field: &schema.Field{Name: "OID", UniqueIndex: "idx_oid"}}},
    		},
    		"type": {
    			Name:   "type",
    			Type:   "",
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sun Feb 04 07:49:19 GMT 2024
    - 8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/spnego/NegTokenInit.java

    
                    ASN1ObjectIdentifier spnego = (ASN1ObjectIdentifier) vec.getObjectAt(0);
                    if ( !SPNEGO_OID.equals(spnego) ) {
                        throw new IOException("Malformed SPNEGO token, OID " + spnego);
                    }
                    ASN1TaggedObject tagged = (ASN1TaggedObject) vec.getObjectAt(1);
                    if ( tagged.getTagNo() != 0 ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 7.9K bytes
    - Viewed (0)
Back to top