Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for policyIdentifiers (0.36 sec)

  1. src/crypto/x509/x509.go

    	CRLDistributionPoints []string
    
    	// PolicyIdentifiers contains asn1.ObjectIdentifiers, the components
    	// of which are limited to int32. If a certificate contains a policy which
    	// cannot be represented by asn1.ObjectIdentifier, it will not be included in
    	// PolicyIdentifiers, but will be present in Policies, which contains all parsed
    	// policy OIDs.
    	PolicyIdentifiers []asn1.ObjectIdentifier
    
    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

    			t.Errorf("%s: failed to parse certificate: %s", test.name, err)
    			continue
    		}
    
    		if len(cert.PolicyIdentifiers) != 1 || !cert.PolicyIdentifiers[0].Equal(template.PolicyIdentifiers[0]) {
    			t.Errorf("%s: failed to parse policy identifiers: got:%#v want:%#v", test.name, cert.PolicyIdentifiers, template.PolicyIdentifiers)
    		}
    
    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. src/crypto/x509/parser.go

    				out.Policies, err = parseCertificatePoliciesExtension(e.Value)
    				if err != nil {
    					return err
    				}
    				out.PolicyIdentifiers = make([]asn1.ObjectIdentifier, 0, len(out.Policies))
    				for _, oid := range out.Policies {
    					if oid, ok := oid.toASN1OID(); ok {
    						out.PolicyIdentifiers = append(out.PolicyIdentifiers, oid)
    					}
    				}
    			default:
    				// Unknown extensions are recorded if critical.
    				unhandled = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  4. doc/godebug.md

    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).
    
    
    ### Go 1.21
    
    Go 1.21 made it a run-time error to call `panic` with a nil interface value,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Certificate.PermittedEmailAddresses", Field, 10},
    		{"Certificate.PermittedIPRanges", Field, 10},
    		{"Certificate.PermittedURIDomains", Field, 10},
    		{"Certificate.Policies", Field, 22},
    		{"Certificate.PolicyIdentifiers", Field, 0},
    		{"Certificate.PublicKey", Field, 0},
    		{"Certificate.PublicKeyAlgorithm", Field, 0},
    		{"Certificate.Raw", Field, 0},
    		{"Certificate.RawIssuer", 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)
  6. api/go1.txt

    pkg crypto/x509, type Certificate struct, PermittedDNSDomains []string
    pkg crypto/x509, type Certificate struct, PermittedDNSDomainsCritical bool
    pkg crypto/x509, type Certificate struct, PolicyIdentifiers []asn1.ObjectIdentifier
    pkg crypto/x509, type Certificate struct, PublicKey interface{}
    pkg crypto/x509, type Certificate struct, PublicKeyAlgorithm PublicKeyAlgorithm
    pkg crypto/x509, type Certificate struct, Raw []uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top