- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ECDSAWithSHA1 (0.1 sec)
-
src/crypto/x509/x509_test.go
cert, err := ParseCertificate(pemBlock.Bytes) if err != nil { t.Fatalf("failed to parse certificate: %s", err) } if sa := cert.SignatureAlgorithm; sa != ECDSAWithSHA1 { t.Errorf("signature algorithm is %v, want %v", sa, ECDSAWithSHA1) } if err = cert.CheckSignatureFrom(cert); err == nil { t.Fatalf("certificate verification succeeded incorrectly") } if _, ok := err.(InsecureAlgorithmError); !ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:00:16 UTC 2024 - 163.4K bytes - Viewed (0)