@NotNull
  @Override
  public List<? extends Entity> read(@NotNull InputStream stream) throws IOException {
    try (PushbackInputStream pStream = new PushbackInputStream(stream)) {
      int peeked = pStream.read();
      pStream.unread(peeked);
      if (peeked == 48) {
        return readDer(pStream);
      }
      else {
        return readPem(pStream);
      }
    }
  }
@NotNull
  @Override
  public List<? extends Entity> read(@NotNull InputStream stream)