title: Testing X509 Certificate Expiry date with C
body: <p>How can I programaticlaly test if a X509 ?* certificate is expired or not ?
  Is their a direct crypto api ?
  or I have to get the not_after time and check it manually in my code ?</p>