Utility functions to ease the work with Peer Certificates
Extract RDN Sequences from certificate
@type peer_cert() :: binary() | atom()
@type rdn() :: %{subject: map(), issuer: map()}
@spec rdn(peer_cert :: peer_cert()) :: rdn() | :no_peercert