public static JWSHeader fromBase64String ( String base64 ) throws IOException { String json = MessageSecurityHelper . base64UrltoString ( base64 ) ; ObjectMapper mapper = new ObjectMapper ( ) ; return mapper . readValue ( json , JWSHeader . class ) ; }
Construct JWSHeader from base64url string .