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 SummaryFieldsModifier and TypeFieldDescriptionstatic final intDeprecated.Specify decoding in first bit.static final intDeprecated.Do break lines when encoding.static final intDeprecated.Specify encoding in first bit.static final intDeprecated.No options specified.static final intDeprecated.Encode using the special "ordered" dialect of Base64.static final intDeprecated.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_OPTIONSpublic static final int NO_OPTIONSDeprecated.No options specified. Value is zero.- See Also:
 
- 
ENCODEpublic static final int ENCODEDeprecated.Specify encoding in first bit. Value is one.- See Also:
 
- 
DECODEpublic static final int DECODEDeprecated.Specify decoding in first bit. Value is zero.- See Also:
 
- 
DO_BREAK_LINESpublic static final int DO_BREAK_LINESDeprecated.Do break lines when encoding. Value is 8.- See Also:
 
- 
URL_SAFEpublic 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:
 
- 
ORDEREDpublic static final int ORDEREDDeprecated.Encode using the special "ordered" dialect of Base64.- See Also:
 
 
- 
- 
Method Details- 
decodepublic static byte[] decode(byte[] bytes) Deprecated.
- 
encodepublic static byte[] encode(byte[] bytes) Deprecated.
- 
isBase64public static boolean isBase64(byte[] bytes) Deprecated.
 
-