Class Base64Url


  • public class Base64Url
    extends Object
    Version:
    $Revision: 1 $
    Author:
    Bill Burke
    • Constructor Detail

      • Base64Url

        public Base64Url()
    • Method Detail

      • encode

        public static String encode​(byte[] bytes)
      • decode

        public static byte[] decode​(String s)
      • encodeBase64ToBase64Url

        public static String encodeBase64ToBase64Url​(String base64)
        Parameters:
        base64 - String in base64 encoding
        Returns:
        String in base64Url encoding
      • encodeBase64UrlToBase64

        public static String encodeBase64UrlToBase64​(String base64Url)
        Parameters:
        base64Url - String in base64Url encoding
        Returns:
        String in base64 encoding