doc: add x509 docs.