Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestPemCertBytestoString (0.18 sec)

  1. security/pkg/pki/util/crypto_test.go

    		}
    		if err != nil {
    			if !tc.isErr {
    				t.Errorf("%s: should be supported, but is failing", id)
    			}
    		}
    	}
    }
    
    func TestPemCertBytestoString(t *testing.T) {
    	// empty check
    	if len(PemCertBytestoString([]byte{})) != 0 {
    		t.Errorf("Empty call fails!")
    	}
    
    	certBytes := []byte(certECDSA)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 13:00:07 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top