Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestMismatchedSignatureAlgorithm (0.39 sec)

  1. src/crypto/x509/x509_test.go

    	}
    	if cNil1.Equal(cNonNil) {
    		t.Error("Unexpectedly cNil1 is equal to cNonNil")
    	}
    	if cNonNil.Equal(cNil1) {
    		t.Error("Unexpectedly cNonNil is equal to cNil1")
    	}
    }
    
    func TestMismatchedSignatureAlgorithm(t *testing.T) {
    	der, _ := pem.Decode([]byte(rsaPSSSelfSignedPEM))
    	if der == nil {
    		t.Fatal("Failed to find PEM block")
    	}
    
    	cert, err := ParseCertificate(der.Bytes)
    	if err != nil {
    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