Java class to sign an A3 digital certificate