Add function to get expiration from certificate.
Add function to get expiration from certificate.

tcmitchell/geni-ch,ahelsing/geni-ch,MarshallBrinn/geni-ch,tcmitchell/geni-ch,ahelsing/geni-ch,MarshallBrinn/geni-ch