Package net.sourceforge.spnego
Class Base64
- java.lang.Object
-
- net.sourceforge.spnego.Base64
-
@Deprecated public final class Base64 extends Object
Deprecated.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static byte[]decode(String string)Deprecated.static Stringencode(byte[] bytes)Deprecated.
-
-
-
Method Detail
-
encode
@Deprecated public static String encode(byte[] bytes)
Deprecated.Base-64 encodes the supplied block of data. Line wrapping is not applied on output.- Parameters:
bytes- The block of data that is to be Base-64 encoded.- Returns:
- A
Stringcontaining the encoded data.
-
decode
@Deprecated public static byte[] decode(String string)
Deprecated.Decodes the supplied Base-64 encoded string.- Parameters:
string- The Base-64 encoded string that is to be decoded.- Returns:
- A
byte[]containing the decoded data block.
-
-