Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for URIs (0.15 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. 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)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/HttpScriptPluginIntegrationSpec.groovy

                apply from: '$server.uri/external.gradle'
                defaultTasks 'doStuff'
    """
    
            then:
            fails(":help")
                .assertHasCause("Applying script plugins from insecure URIs, without explicit opt-in, is unsupported. The provided URI '${server.uri("/external.gradle")}' uses an insecure protocol (HTTP).")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 30 08:26:30 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  5. src/crypto/x509/name_constraints_test.go

    			},
    		},
    	},
    
    	// #51: URIs with IPs are rejected
    	{
    		roots: []constraintsSpec{
    			{
    				ok: []string{"uri:example.com"},
    			},
    		},
    		intermediates: [][]constraintsSpec{
    			{
    				{},
    			},
    		},
    		leaf: leafSpec{
    			sans: []string{"uri:http://1.2.3.4/"},
    		},
    		expectedError: "URI with IP",
    	},
    
    	// #52: URIs with IPs and ports are rejected
    	{
    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

    			}
    			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) {
    			case net.IPv4len, net.IPv6len:
    				ipAddresses = append(ipAddresses, data)
    			default:
    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. 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)
  8. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

     *     return Scheduler.newFixedRateSchedule(0, 1, TimeUnit.SECONDS);
     *   }
     * }
     * }</pre>
     *
     * <p>This class uses the life cycle methods to read in a list of starting URIs and save the set of
     * outstanding URIs when shutting down. Also, it takes advantage of the scheduling functionality to
     * rate limit the number of queries we perform.
     *
     * @author Luke Sandberg
     * @since 11.0
     */
    @GwtIncompatible
    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. subprojects/core/src/test/groovy/org/gradle/api/internal/file/BaseDirFileResolverTest.groovy

            File relativeFile = new File('relative')
            assertEquals(new File(baseDir, 'relative'), baseDirConverter.resolve(relativeFile))
        }
    
        @Test public void testResolveRelativeFileURI() {
            // Relative URIs were never supported when passed as a URI. They were only supported when passed as a String.
            def ex = assertThrows(InvalidUserDataException, {
                baseDirConverter.resolve(URI.create('file:relative'))
            })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 29 17:15:52 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

     *     return Scheduler.newFixedRateSchedule(0, 1, TimeUnit.SECONDS);
     *   }
     * }
     * }</pre>
     *
     * <p>This class uses the life cycle methods to read in a list of starting URIs and save the set of
     * outstanding URIs when shutting down. Also, it takes advantage of the scheduling functionality to
     * rate limit the number of queries we perform.
     *
     * @author Luke Sandberg
     * @since 11.0
     */
    @GwtIncompatible
    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