- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for buildChains (0.26 sec)
-
src/crypto/x509/verify.go
// that an invocation of buildChains will (transitively) make. Most chains are // less than 15 certificates long, so this leaves space for multiple chains and // for failed checks due to different intermediates having the same Subject. const maxChainSignatureChecks = 100
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:58:39 UTC 2024 - 35.7K bytes - Viewed (0) -
src/crypto/x509/cert_pool.go
return nil } // consider all candidates where cert.Issuer matches cert.Subject. // when picking possible candidates the list is built in the order // of match plausibility as to save cycles in buildChains: // AKID and SKID match // AKID present, SKID missing / AKID missing, SKID present // AKID and SKID don't match var matchingKeyID, oneKeyID, mismatchKeyID []potentialParent
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 19:41:40 UTC 2023 - 8.9K bytes - Viewed (0) -
src/crypto/x509/verify_test.go
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 { t.Fatalf("buildChains returned unexpected error, got: %v, want %v", err, UnknownAuthorityError{}) } } func TestVerifyBareWildcard(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 110.2K bytes - Viewed (0)