private static byte[] readPemEntryBytes(BufferedReader reader) throws IOException {
    return Base64.decode(readPemEntryText(reader, null).toString());
  }
private static byte[] readPemEntryBytes(BufferedReader reader)