Java port of the crtauth authentication library