update comment on x509 class
fix missing import. fixes #738