Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for MaxPathLenZero (0.27 sec)

  1. src/crypto/x509/x509.go

    	// and MaxPathLenZero are valid.
    	BasicConstraintsValid bool
    	IsCA                  bool
    
    	// MaxPathLen and MaxPathLenZero indicate the presence and
    	// value of the BasicConstraints' "pathLenConstraint".
    	//
    	// When parsing a certificate, a positive non-zero MaxPathLen
    	// means that the field was specified, -1 means it was unset,
    	// and MaxPathLenZero being true mean that the field was
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  2. src/crypto/x509/x509_test.go

    	}
    	if cert1.MaxPathLenZero {
    		t.Errorf("Omitting MaxPathLen resulted in MaxPathLenZero")
    	}
    
    	template.MaxPathLen = 1
    	cert2 := serialiseAndParse(t, template)
    	if m := cert2.MaxPathLen; m != 1 {
    		t.Errorf("Setting MaxPathLen didn't work. Got %d but set 1", m)
    	}
    	if cert2.MaxPathLenZero {
    		t.Errorf("Setting MaxPathLen resulted in MaxPathLenZero")
    	}
    
    	template.MaxPathLen = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  3. api/go1.4.txt

    pkg crypto/tls, type ConnectionState struct, TLSUnique []uint8
    
    # CL 153420045 crypto/x509: continue to recognise MaxPathLen of zero as "no value"., Adam Langley <******@****.***>
    pkg crypto/x509, type Certificate struct, MaxPathLenZero bool
    
    # CL 158950043 database/sql: add Drivers, returning list of registered drivers, Russ Cox <******@****.***>
    pkg database/sql, func Drivers() []string
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 12 03:01:01 UTC 2014
    - 34K bytes
    - Viewed (0)
  4. src/crypto/x509/parser.go

    					return err
    				}
    			case 19:
    				out.IsCA, out.MaxPathLen, err = parseBasicConstraintsExtension(e.Value)
    				if err != nil {
    					return err
    				}
    				out.BasicConstraintsValid = true
    				out.MaxPathLenZero = out.MaxPathLen == 0
    			case 17:
    				out.DNSNames, out.EmailAddresses, out.IPAddresses, out.URIs, err = parseSANExtension(e.Value)
    				if err != nil {
    					return err
    				}
    
    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. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Certificate.Issuer", Field, 0},
    		{"Certificate.IssuingCertificateURL", Field, 2},
    		{"Certificate.KeyUsage", Field, 0},
    		{"Certificate.MaxPathLen", Field, 0},
    		{"Certificate.MaxPathLenZero", Field, 4},
    		{"Certificate.NotAfter", Field, 0},
    		{"Certificate.NotBefore", Field, 0},
    		{"Certificate.OCSPServer", Field, 2},
    		{"Certificate.PermittedDNSDomains", Field, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top