Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 65 for URIs (0.08 sec)

  1. src/crypto/x509/x509.go

    	if (len(template.DNSNames) > 0 || len(template.EmailAddresses) > 0 || len(template.IPAddresses) > 0 || len(template.URIs) > 0) &&
    		!oidInExtensions(oidExtensionSubjectAltName, template.ExtraExtensions) {
    		sanBytes, err := marshalSANs(template.DNSNames, template.EmailAddresses, template.IPAddresses, template.URIs)
    		if err != nil {
    			return nil, err
    		}
    
    		ret = append(ret, pkix.Extension{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  2. platforms/jvm/toolchains-jvm/src/main/java/org/gradle/jvm/toolchain/internal/install/SecureFileDownloader.java

                                    ". This URI was reached as a redirect from " + source + ". This is not supported, make sure no insecure URIs appear in the redirect");
                        });
            } catch (URISyntaxException e) {
                throw new InvalidUserCodeException("Cannot extract host information from specified URI " + source);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 28 16:17:59 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. 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)
  4. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FileOrUriNotationConverter.java

        /**
         * Lenient legacy behavior to fall back to when URI cannot be normally parsed.
         */
        private static String fallbackUrlDecode(String path) {
            DeprecationLogger.deprecateBehaviour("Passing invalid URIs to URI or File converting methods.")
                .withAdvice("Use a valid URL or a file path instead.")
                .willBecomeAnErrorInGradle9()
                .withUpgradeGuideSection(8, "deprecated_invalid_url_decoding")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 01:09:38 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. src/crypto/x509/x509_test.go

    			t.Errorf("%s: SAN emails differ from template. Got %v, want %v", test.name, cert.EmailAddresses, template.EmailAddresses)
    		}
    
    		if len(cert.URIs) != 1 || cert.URIs[0].String() != "https://foo.com/wibble#foo" {
    			t.Errorf("%s: URIs differ from template. Got %v, want %v", test.name, cert.URIs, template.URIs)
    		}
    
    		if !reflect.DeepEqual(cert.IPAddresses, template.IPAddresses) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/plugins/DefaultObjectConfigurationAction.java

                scriptUri,
                false,
                () -> {
                    throw new InsecureProtocolException(
                        String.format("Applying script plugins from insecure URIs, without explicit opt-in, is unsupported. The provided URI '%s' uses an insecure protocol (HTTP). ", scriptUri),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  7. 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)
  8. security/pkg/pki/util/san.go

    // ExtractIDsFromSAN takes a SAN extension and extracts the identities.
    // The logic is mostly borrowed from
    // https://github.com/golang/go/blob/master/src/crypto/x509/x509.go, with the
    // addition of supporting extracting URIs.
    func ExtractIDsFromSAN(sanExt *pkix.Extension) ([]Identity, error) {
    	if !sanExt.Id.Equal(oidSubjectAlternativeName) {
    		return nil, fmt.Errorf("the input is not a SAN extension")
    	}
    
    	var sequence asn1.RawValue
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Oct 14 06:50:22 UTC 2022
    - 6K bytes
    - Viewed (0)
  9. platforms/software/version-control/src/main/java/org/gradle/vcs/git/internal/GitVersionControlSystem.java

            }
        }
    
        private static String normalizeUri(URI uri) throws URISyntaxException {
            // We have to go through URIish and back to deal with differences between how
            // Java File and Git implement file URIs.
            return new URIish(uri.toString()).toPrivateASCIIString();
        }
    
        private static GitVersionControlSpec cast(VersionControlSpec spec) {
            if (!(spec instanceof GitVersionControlSpec)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 31 14:54:52 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. platforms/software/resources/src/main/java/org/gradle/internal/resource/transfer/DefaultExternalResourceConnector.java

                statsFor("fetched resources", resources, sb, 10);
                statsFor("fetched metadata", metadata, sb, 10);
                statsFor("lists queries", lists, sb, 10);
                statsFor("uploaded URIs", uploads, sb, 10);
                return sb.toString();
            }
    
            private void statsFor(String label, Map<URI, Integer> stats, StringBuilder sb, int max) {
                if (stats.isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 8.8K bytes
    - Viewed (0)
Back to top