Implementation of JWS (JSON Web Signature) on iOS