(Object s)
| 83 | } |
| 84 | |
| 85 | public static byte[] Base64ToBinary(Object s) { |
| 86 | return Base64.getDecoder().decode(toString(s)); |
| 87 | } |
| 88 | |
| 89 | public static String Base64ToBase64Url(String base64, boolean stripPadding) { |
| 90 | String s = base64.replace('+', '-').replace('/', '_'); |