Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/crypto/x509/x509_test.go

    			// With Go 1.19's updated RevocationList, we can now directly compare
    			// the RawSubject of the certificate to RawIssuer on the parsed CRL.
    			// However, this doesn't work with our hacked issuers above (that
    			// aren't parsed from a proper DER bundle but are instead manually
    			// constructed). Prefer RawSubject when it is set.
    			if len(tc.issuer.RawSubject) > 0 {
    				issuerSubj, err := subjectBytes(tc.issuer)
    				if err != nil {
    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

    	c := &Certificate{
    		RawIssuer:      []byte{1, 2, 3},
    		AuthorityKeyId: []byte{1, 2, 3},
    	}
    	opts := &VerifyOptions{}
    	opts.Roots = NewCertPool()
    	r := &Certificate{
    		RawSubject:   []byte{1, 2, 3},
    		SubjectKeyId: []byte{1, 2, 3},
    	}
    	opts.Roots.AddCert(r)
    
    	_, err := c.buildChains([]*Certificate{r}, nil, opts)
    	if _, ok := err.(UnknownAuthorityError); !ok {
    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. api/go1.3.txt

    pkg crypto/x509, type CertificateRequest struct, PublicKeyAlgorithm PublicKeyAlgorithm
    pkg crypto/x509, type CertificateRequest struct, Raw []uint8
    pkg crypto/x509, type CertificateRequest struct, RawSubject []uint8
    pkg crypto/x509, type CertificateRequest struct, RawSubjectPublicKeyInfo []uint8
    pkg crypto/x509, type CertificateRequest struct, RawTBSCertificateRequest []uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 02 02:45:00 UTC 2014
    - 117K bytes
    - Viewed (0)
Back to top