- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for SubjectKeyId (0.11 sec)
-
src/crypto/x509/x509_test.go
} if cert := serialiseAndParse(t, template); len(cert.SubjectKeyId) == 0 { t.Fatalf("self-signed certificate did not generate subject key id using the public key") } template.IsCA = false if cert := serialiseAndParse(t, template); len(cert.SubjectKeyId) != 0 { t.Fatalf("self-signed certificate generated subject key id when it isn't a CA") } template.SubjectKeyId = []byte{1, 2, 3, 4}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:00:16 UTC 2024 - 163.4K bytes - Viewed (0) -
src/crypto/x509/verify_test.go
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)