Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 291 for uris (0.06 sec)

  1. pkg/apis/certificates/v1beta1/defaults_test.go

    			base.emailAddresses = opt.emailAddresses
    		}
    		if opt.uris != nil {
    			base.uris = opt.uris
    		}
    	}
    	return base
    }
    
    func csrWithOpts(base pemOptions, overlays ...pemOptions) []byte {
    	opts := overlayPEMOptions(append([]pemOptions{base}, overlays...)...)
    	uris := make([]*url.URL, len(opts.uris))
    	for i, s := range opts.uris {
    		u, err := url.ParseRequestURI(s)
    		if err != nil {
    			panic(err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 27 08:04:25 UTC 2022
    - 16.9K bytes
    - Viewed (0)
  2. pkg/spiffe/spiffe.go

    		}
    		if id == 0 {
    			peerCert = cert
    		} else {
    			intCertPool.AddCert(cert)
    		}
    	}
    	if len(peerCert.URIs) != 1 {
    		return fmt.Errorf("peer certificate does not contain 1 URI type SAN, detected %d", len(peerCert.URIs))
    	}
    	trustDomain, err := GetTrustDomainFromURISAN(peerCert.URIs[0].String())
    	if err != nil {
    		return err
    	}
    	rootCertPool, ok := v.certPools[trustDomain]
    	if !ok {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/HttpScriptPluginIntegrationSpec.groovy

                assert "${server.uri}/external.gradle" == buildscript.sourceURI as String
    """
    
            buildFile << """
                apply from: '$server.uri/external.gradle'
                defaultTasks 'doStuff'
    """
    
            then:
            fails(":help")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 30 08:26:30 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  4. pkg/test/echo/server/forwarder/config.go

    			if err != nil {
    				fwLog.Errorf("Failed to parse client certificate: %v", err)
    			}
    			fwLog.Debugf("Using client certificate [%s] issued by %s", cert.SerialNumber, cert.Issuer)
    			for _, uri := range cert.URIs {
    				fwLog.Debugf("  URI SAN: %s", uri)
    			}
    		}
    		// nolint: unparam
    		return func(info *tls.CertificateRequestInfo) (*tls.Certificate, error) {
    			fwLog.Debugf("Peer asking for client certificate")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Oct 08 09:39:20 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  5. src/crypto/x509/name_constraints_test.go

    			template.EmailAddresses = append(template.EmailAddresses, name[6:])
    
    		case strings.HasPrefix(name, "uri:"):
    			uri, err := url.Parse(name[4:])
    			if err != nil {
    				return nil, fmt.Errorf("cannot parse URI %q: %s", name[4:], err)
    			}
    			template.URIs = append(template.URIs, uri)
    
    		case strings.HasPrefix(name, "unknown:"):
    			// This is a special case for testing unknown
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 22:40:21 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  6. src/crypto/x509/parser.go

    			}
    			uri, err := url.Parse(uriStr)
    			if err != nil {
    				return fmt.Errorf("x509: cannot parse URI %q: %s", uriStr, err)
    			}
    			if len(uri.Host) > 0 {
    				if _, ok := domainToReverseLabels(uri.Host); !ok {
    					return fmt.Errorf("x509: cannot parse URI %q: invalid domain", uriStr)
    				}
    			}
    			uris = append(uris, uri)
    		case nameTypeIP:
    			switch len(data) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/file/BaseDirFileResolverTest.groovy

            assertEquals(new URI("http://www.gradle.org"), baseDirConverter.resolveUri("http://www.gradle.org"))
        }
    
        @Test public void testResolveUriObjectToUri() {
            URI uri = new URI("http://www.gradle.org")
            assertEquals(uri, baseDirConverter.resolveUri(uri))
        }
    
        @Test public void testResolveUrlObjectToUri() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 29 17:15:52 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

     *   private Set<Uri> visited;
     *   private Queue<Uri> toCrawl;
     *   protected void startUp() throws Exception {
     *     toCrawl = readStartingUris();
     *   }
     *
     *   protected void runOneIteration() throws Exception {
     *     Uri uri = toCrawl.remove();
     *     Collection<Uri> newUris = crawl(uri);
     *     visited.add(uri);
     *     for (Uri newUri : newUris) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 25.8K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

            // As recommended by the HTTP RFC and implemented in Firefox, the max age of a document
            // should be defaulted to 10% of the document's age at the time it was served. Default
            // expiration dates aren't used for URIs containing a query.
            val servedMillis = servedDate?.time ?: sentRequestMillis
            val delta = servedMillis - lastModified!!.time
            return if (delta > 0L) delta / 10 else 0L
          }
    
          return 0L
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

     *   private Set<Uri> visited;
     *   private Queue<Uri> toCrawl;
     *   protected void startUp() throws Exception {
     *     toCrawl = readStartingUris();
     *   }
     *
     *   protected void runOneIteration() throws Exception {
     *     Uri uri = toCrawl.remove();
     *     Collection<Uri> newUris = crawl(uri);
     *     visited.add(uri);
     *     for (Uri newUri : newUris) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 27.5K bytes
    - Viewed (0)
Back to top