We can now verify certificate signatures ourselves (with RSA keys)

Also added docstrings to a lot of components.