Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 228 for oids (0.14 sec)

  1. src/crypto/x509/root_windows.go

    	if len(keyUsages) == 0 {
    		keyUsages = []ExtKeyUsage{ExtKeyUsageServerAuth}
    	}
    	oids := make([]*byte, 0, len(keyUsages))
    	for _, eku := range keyUsages {
    		if eku == ExtKeyUsageAny {
    			oids = nil
    			break
    		}
    		if oid, ok := windowsExtKeyUsageOIDs[eku]; ok {
    			oids = append(oids, &oid[0])
    		}
    	}
    	if oids != nil {
    		para.RequestedUsage.Type = syscall.USAGE_MATCH_TYPE_OR
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:41:40 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SSPContext.java

         */
        boolean isPreferredMech ( ASN1ObjectIdentifier selectedMech );
    
    
        /**
         * @return context flags
         */
        int getFlags ();
    
    
        /**
         * @return array of supported mechanism OIDs
         */
        ASN1ObjectIdentifier[] getSupportedMechs ();
    
    
        /**
         * 
         * @return whether this mechanisms supports integrity
         */
        boolean supportsIntegrity ();
    
    
        /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  3. internal/config/certsinfo.go

    			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:
    				values = append(values, fmt.Sprintf("ST=%s", name.Value))
    			case 10:
    				values = append(values, fmt.Sprintf("O=%s", name.Value))
    			case 11:
    				values = append(values, fmt.Sprintf("OU=%s", name.Value))
    			default:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 16 17:28:29 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  4. src/crypto/x509/parser.go

    			return nil, errors.New("x509: invalid certificate policies")
    		}
    		oid, ok := newOIDFromDER(OIDBytes)
    		if !ok {
    			return nil, errors.New("x509: invalid certificate policies")
    		}
    		oids = append(oids, oid)
    	}
    	return oids, nil
    }
    
    // isValidIPMask reports whether mask consists of zero or more 1 bits, followed by zero bits.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  5. doc/godebug.md

    field, [`Policies`](/pkg/crypto/x509/#Certificate.Policies), which supports
    certificate policy OIDs with components larger than 31 bits. By default this
    field is only used during parsing, when it is populated with policy OIDs, but
    not used during marshaling. It can be used to marshal these larger OIDs, instead
    of the existing PolicyIdentifiers field, by using the
    [`x509usepolicies` setting.](/pkg/crypto/x509/#CreateCertificate).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  6. src/crypto/x509/oid.go

    func OIDFromInts(oid []uint64) (OID, error) {
    	if len(oid) < 2 || oid[0] > 2 || (oid[0] < 2 && oid[1] >= 40) {
    		return OID{}, errInvalidOID
    	}
    
    	length := base128IntLength(oid[0]*40 + oid[1])
    	for _, v := range oid[2:] {
    		length += base128IntLength(v)
    	}
    
    	der := make([]byte, 0, length)
    	der = appendBase128Int(der, oid[0]*40+oid[1])
    	for _, v := range oid[2:] {
    		der = appendBase128Int(der, v)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 19:10:38 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. src/crypto/x509/x509.go

    	ext := pkix.Extension{Id: oidExtensionExtendedKeyUsage}
    
    	oids := make([]asn1.ObjectIdentifier, len(extUsages)+len(unknownUsages))
    	for i, u := range extUsages {
    		if oid, ok := oidFromExtKeyUsage(u); ok {
    			oids[i] = oid
    		} else {
    			return ext, errors.New("x509: unknown extended key usage")
    		}
    	}
    
    	copy(oids[len(extUsages):], unknownUsages)
    
    	var err error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/Kerb5Context.java

            try {
                krbNameOid = new Oid("1.2.840.113554.1.2.2.1");
                krbMechOid = new Oid("1.2.840.113554.1.2.2");
            }
            catch ( Exception e ) {
                log.error("Failed to initialize kerberos OIDs", e);
            }
    
            JGSS_KRB5_NAME_OID = krbNameOid;
            JGSS_KRB5_MECH_OID = krbMechOid;
        }
    
        private final GSSContext gssContext;
        private final GSSName clientName;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Aug 02 08:22:42 UTC 2018
    - 13.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc.go

    // allowlist of signing algorithms to ensure users don't mistakenly pass something goofy.
    var allowedSigningAlgs = map[string]bool{
    	oidc.RS256: true,
    	oidc.RS384: true,
    	oidc.RS512: true,
    	oidc.ES256: true,
    	oidc.ES384: true,
    	oidc.ES512: true,
    	oidc.PS256: true,
    	oidc.PS384: true,
    	oidc.PS512: true,
    }
    
    type AuthenticatorTokenWithHealthCheck interface {
    	authenticator.Token
    	HealthCheck() error
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 19:29:33 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  10. security/pkg/server/ca/authenticate/oidc.go

    	// Based on https://pkg.go.dev/github.com/coreos/go-oidc/v3/oidc#NewRemoteKeySet
    	// the oidc library handles caching and cache invalidation. Thus, the verifier
    	// is only created once in the constructor.
    	var verifier *oidc.IDTokenVerifier
    	if len(jwksURL) == 0 {
    		// OIDC discovery is used if jwksURL is not set.
    		provider, err := oidc.NewProvider(context.Background(), issuer)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top