Class Base64
java.lang.Object
org.springframework.security.crypto.codec.Base64
Deprecated.
Use java.util.Base64
Base64 encoder which is a reduced version of Robert Harder's public domain
implementation (version 2.3.7). See http://iharder.sourceforge.net/current/java/base64/
for more information.
For internal use only.
- Since:
- 3.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Deprecated.Specify decoding in first bit.static final int
Deprecated.Do break lines when encoding.static final int
Deprecated.Specify encoding in first bit.static final int
Deprecated.No options specified.static final int
Deprecated.Encode using the special "ordered" dialect of Base64.static final int
Deprecated.Encode using Base64-like encoding that is URL- and Filename-safe as described in Section 4 of RFC3548: https://tools.ietf.org/html/rfc3548. -
Method Summary
-
Field Details
-
NO_OPTIONS
public static final int NO_OPTIONSDeprecated.No options specified. Value is zero.- See Also:
-
ENCODE
public static final int ENCODEDeprecated.Specify encoding in first bit. Value is one.- See Also:
-
DECODE
public static final int DECODEDeprecated.Specify decoding in first bit. Value is zero.- See Also:
-
DO_BREAK_LINES
public static final int DO_BREAK_LINESDeprecated.Do break lines when encoding. Value is 8.- See Also:
-
URL_SAFE
public static final int URL_SAFEDeprecated.Encode using Base64-like encoding that is URL- and Filename-safe as described in Section 4 of RFC3548: https://tools.ietf.org/html/rfc3548. It is important to note that data encoded this way is not officially valid Base64, or at the very least should not be called Base64 without also specifying that is was encoded using the URL- and Filename-safe dialect.- See Also:
-
ORDERED
public static final int ORDEREDDeprecated.Encode using the special "ordered" dialect of Base64.- See Also:
-
-
Method Details
-
decode
public static byte[] decode(byte[] bytes) Deprecated. -
encode
public static byte[] encode(byte[] bytes) Deprecated. -
isBase64
public static boolean isBase64(byte[] bytes) Deprecated.
-