Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestVerifyCertificateWithDSASignature (0.42 sec)

  1. src/crypto/x509/x509_test.go

    		t.Fatalf("Failed to parse certificate: %s", err)
    	}
    	if cert.SignatureAlgorithm != DSAWithSHA1 {
    		t.Errorf("Parsed signature algorithm was not DSAWithSHA1")
    	}
    }
    
    func TestVerifyCertificateWithDSASignature(t *testing.T) {
    	pemBlock, _ := pem.Decode([]byte(dsaCertPem))
    	cert, err := ParseCertificate(pemBlock.Bytes)
    	if err != nil {
    		t.Fatalf("Failed to parse certificate: %s", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
Back to top