Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for commonName (0.16 sec)

  1. src/crypto/x509/x509_test.go

    			t.Errorf("%s: failed to parse excluded URIs: %#v", test.name, cert.ExcludedURIDomains)
    		}
    
    		if cert.Subject.CommonName != commonName {
    			t.Errorf("%s: subject wasn't correctly copied from the template. Got %s, want %s", test.name, cert.Subject.CommonName, commonName)
    		}
    
    		if len(cert.Subject.Country) != 1 || cert.Subject.Country[0] != "NL" {
    			t.Errorf("%s: ExtraNames didn't override Country", test.name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  2. src/crypto/x509/verify_test.go

    	}
    	return chainStr
    }
    
    func nameToKey(name *pkix.Name) string {
    	return strings.Join(name.Country, ",") + "/" + strings.Join(name.Organization, ",") + "/" + strings.Join(name.OrganizationalUnit, ",") + "/" + name.CommonName
    }
    
    const gtsIntermediate = `-----BEGIN CERTIFICATE-----
    MIIFljCCA36gAwIBAgINAgO8U1lrNMcY9QFQZjANBgkqhkiG9w0BAQsFADBHMQsw
    CQYDVQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEU
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 110.2K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CallTest.kt

        assumeNotWindows()
        platform.assumeNotBouncyCastle()
    
        server.enqueue(MockResponse())
        val serverCertificate =
          HeldCertificate.Builder()
            .commonName("localhost") // Unusued for hostname verification.
            .addSubjectAlternativeName("wronghostname")
            .build()
        val serverCertificates =
          HandshakeCertificates.Builder()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
Back to top