(keyToDecode []byte)
| 9 | ) |
| 10 | |
| 11 | func pemDecode(keyToDecode []byte) *pem.Block { |
| 12 | block, _ := pem.Decode(keyToDecode) |
| 13 | return block |
| 14 | } |
| 15 | |
| 16 | func TestPrivateKey_IsEncrypted(t *testing.T) { |
| 17 | cases := []struct { |
no outgoing calls
no test coverage detected