test_class.file: sdk/dslink/src/test/java/org/dsa/iot/dslink/util/UrlBase64Test.java
test_class.identifier: UrlBase64Test
test_case.body: @Test
      public void badEncoding() {
          boolean exception = false;
          try {
              UrlBase64.encode("", "UNKNOWN");
          } catch (RuntimeException e) {
              exception = true;
          }
          Assert.assertTrue(exception);
  
          exception = false;
          try {
              UrlBase64.encode(new byte[0], "UNKNOWN");
          } catch (RuntimeException e) {
              exception = true;
          }
          Assert.assertTrue(exception);
      }
test_case.class_method_signature: UrlBase64Test.badEncoding()
test_case.full_signature: @Test public void badEncoding()
test_case.identifier: badEncoding
test_case.invocations: encode assertTrue encode assertTrue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void badEncoding()
focal_class.file: sdk/dslink/src/main/java/org/dsa/iot/dslink/util/UrlBase64.java
focal_class.identifier: UrlBase64
focal_class.class_method_signature: UrlBase64.encode(String data)
focal_class.full_signature: public static String encode(String data)
focal_class.identifier: encode
focal_class.modifiers: public static
focal_class.parameters: (String data)
focal_class.return: String
focal_class.signature: String encode(String data)
focal_class.class_method_signature: UrlBase64.encode(String data, String encoding)
focal_class.full_signature: public static String encode(String data, String encoding)
focal_class.identifier: encode
focal_class.modifiers: public static
focal_class.parameters: (String data, String encoding)
focal_class.return: String
focal_class.signature: String encode(String data, String encoding)
focal_class.class_method_signature: UrlBase64.encode(byte[] data)
focal_class.full_signature: public static String encode(byte[] data)
focal_class.identifier: encode
focal_class.modifiers: public static
focal_class.parameters: (byte[] data)
focal_class.return: String
focal_class.signature: String encode(byte[] data)
focal_class.class_method_signature: UrlBase64.encode(byte[] data, String encoding)
focal_class.full_signature: public static String encode(byte[] data, String encoding)
focal_class.identifier: encode
focal_class.modifiers: public static
focal_class.parameters: (byte[] data, String encoding)
focal_class.return: String
focal_class.signature: String encode(byte[] data, String encoding)
focal_class.class_method_signature: UrlBase64.decode(String encoded)
focal_class.full_signature: public static byte[] decode(String encoded)
focal_class.identifier: decode
focal_class.modifiers: public static
focal_class.parameters: (String encoded)
focal_class.return: byte[]
focal_class.signature: byte[] decode(String encoded)
focal_class.class_method_signature: UrlBase64.decode(String encoded, String encoding)
focal_class.full_signature: public static byte[] decode(String encoded, String encoding)
focal_class.identifier: decode
focal_class.modifiers: public static
focal_class.parameters: (String encoded, String encoding)
focal_class.return: byte[]
focal_class.signature: byte[] decode(String encoded, String encoding)
focal_class.class_method_signature: UrlBase64.decodeToString(String encoded)
focal_class.full_signature: public static String decodeToString(String encoded)
focal_class.identifier: decodeToString
focal_class.modifiers: public static
focal_class.parameters: (String encoded)
focal_class.return: String
focal_class.signature: String decodeToString(String encoded)
focal_class.class_method_signature: UrlBase64.decodeToString(String encoded, String encoding)
focal_class.full_signature: public static String decodeToString(String encoded, String encoding)
focal_class.identifier: decodeToString
focal_class.modifiers: public static
focal_class.parameters: (String encoded, String encoding)
focal_class.return: String
focal_class.signature: String decodeToString(String encoded, String encoding)
focal_class.class_method_signature: UrlBase64.stripPadding(String encoded)
focal_class.full_signature: public static String stripPadding(String encoded)
focal_class.identifier: stripPadding
focal_class.modifiers: public static
focal_class.parameters: (String encoded)
focal_class.return: String
focal_class.signature: String stripPadding(String encoded)
focal_class.class_method_signature: UrlBase64.addPadding(String encoded)
focal_class.full_signature: public static String addPadding(String encoded)
focal_class.identifier: addPadding
focal_class.modifiers: public static
focal_class.parameters: (String encoded)
focal_class.return: String
focal_class.signature: String addPadding(String encoded)
focal_class.class_method_signature: UrlBase64.bouncyEncode(byte[] data)
focal_class.full_signature: private static byte[] bouncyEncode(byte[] data)
focal_class.identifier: bouncyEncode
focal_class.modifiers: private static
focal_class.parameters: (byte[] data)
focal_class.return: byte[]
focal_class.signature: byte[] bouncyEncode(byte[] data)
focal_class.class_method_signature: UrlBase64.bounceDecode(byte[] data)
focal_class.full_signature: private static byte[] bounceDecode(byte[] data)
focal_class.identifier: bounceDecode
focal_class.modifiers: private static
focal_class.parameters: (byte[] data)
focal_class.return: byte[]
focal_class.signature: byte[] bounceDecode(byte[] data)
focal_method.body: public static String encode(String data) {
          return encode(data, "UTF-8");
      }
focal_method.class_method_signature: UrlBase64.encode(String data)
focal_method.full_signature: public static String encode(String data)
focal_method.identifier: encode
focal_method.invocations: encode
focal_method.modifiers: public static
focal_method.parameters: (String data)
focal_method.return: String
focal_method.signature: String encode(String data)