@Test
public void testBytesToPrivateKey() {

    try {
        byte[] bytes = Files.readAllBytes(Paths.get(System.getProperty("user.dir") + "/src/test/resources/tls-client.key"));
        PrivateKey pk = crypto.bytesToPrivateKey(bytes);
    } catch (Exception e) {
        Assert.fail("failed to parse private key bytes: " + e.toString());
    }
}