Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RawSubject (0.1 sec)

  1. src/crypto/x509/cert_pool.go

    // in its normal expanded *Certificate form.
    type lazyCert struct {
    	// rawSubject is the Certificate.RawSubject value.
    	// It's the same as the CertPool.byName key, but in []byte
    	// form to make CertPool.Subjects (as used by crypto/tls) do
    	// fewer allocations.
    	rawSubject []byte
    
    	// constraint is a function to run against a chain when it is a candidate to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:41:40 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  2. src/crypto/x509/cert_pool_test.go

    // license that can be found in the LICENSE file.
    
    package x509
    
    import "testing"
    
    func TestCertPoolEqual(t *testing.T) {
    	tc := &Certificate{Raw: []byte{1, 2, 3}, RawSubject: []byte{2}}
    	otherTC := &Certificate{Raw: []byte{9, 8, 7}, RawSubject: []byte{8}}
    
    	emptyPool := NewCertPool()
    	nonSystemPopulated := NewCertPool()
    	nonSystemPopulated.AddCert(tc)
    	nonSystemPopulatedAlt := NewCertPool()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 13 18:06:43 UTC 2022
    - 2.3K bytes
    - Viewed (0)
Back to top