Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Fitblip authored Feb 28, 2018
1 parent 0b3435b commit 58a6f7e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Hex docs can be found at [https://hexdocs.pm/easy_ssl](https://hexdocs.pm/easy_s

We aim to make the usage as stupid simple as possible, so there are only 2 exported functions (for now), both of which return the following data structure:

```
```elixir
%{
extensions: %{
authorityInfoAccess: "CA Issuers - URI:http://certificates.godaddy.com/repository/gd_intermediate.crt\nOCSP - URI:http://ocsp.godaddy.com/\n",
Expand Down Expand Up @@ -53,7 +53,7 @@ We aim to make the usage as stupid simple as possible, so there are only 2 expor

Parses a DER-encoded X509 certificate

```
```elixir
iex(1)> File.read!("some_cert.der") |> EasySSL.parse_der
%{
extensions: %{
Expand All @@ -74,7 +74,7 @@ iex(1)> File.read!("some_cert.der") |> EasySSL.parse_der

Parses a PEM-encoded X509 certificate

```
```elixir
iex(1)> File.read!("some_cert.pem") |> EasySSL.parse_pem
%{
extensions: %{
Expand All @@ -93,4 +93,4 @@ iex(1)> File.read!("some_cert.pem") |> EasySSL.parse_pem



If you'd like some other functionality or find a bug please open a ticket!
If you'd like some other functionality or find a bug please open a ticket!

0 comments on commit 58a6f7e

Please sign in to comment.