- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestASN1BitLength (0.14 sec)
-
src/crypto/x509/x509_test.go
template.SubjectKeyId = []byte{1, 2, 3, 4} if cert := serialiseAndParse(t, template); len(cert.SubjectKeyId) == 0 { t.Fatalf("self-signed certificate erased explicit subject key id") } } func TestASN1BitLength(t *testing.T) { tests := []struct { bytes []byte bitLen int }{ {nil, 0}, {[]byte{0x00}, 0}, {[]byte{0x00, 0x00}, 0}, {[]byte{0xf0}, 4}, {[]byte{0x88}, 5},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:00:16 UTC 2024 - 163.4K bytes - Viewed (0)