- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for InsecureAlgorithmError (0.13 sec)
-
src/crypto/x509/x509_test.go
} if err = cert.CheckSignatureFrom(cert); err == nil { t.Fatalf("certificate verification succeeded incorrectly") } if _, ok := err.(InsecureAlgorithmError); !ok { t.Fatalf("certificate verification returned %v (%T), wanted InsecureAlgorithmError", err, err) } } func TestSHA1(t *testing.T) { pemBlock, _ := pem.Decode([]byte(ecdsaSHA1CertPem)) cert, err := ParseCertificate(pemBlock.Bytes)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:00:16 UTC 2024 - 163.4K bytes - Viewed (0)