|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.security.crypto.codec.Base64
public final class Base64
Base64 encoder which is a reduced version of Robert Harder's public domain implementation (version 2.3.7). See http://iharder.net/base64 for more information.
For internal use only.
Field Summary | |
---|---|
static int |
DECODE
Specify decoding in first bit. |
static int |
DO_BREAK_LINES
Do break lines when encoding. |
static int |
ENCODE
Specify encoding in first bit. |
static int |
NO_OPTIONS
No options specified. |
static int |
ORDERED
Encode using the special "ordered" dialect of Base64 described here: http://www.faqs.org/qa/rfcc-1940.html. |
static int |
URL_SAFE
Encode using Base64-like encoding that is URL- and Filename-safe as described in Section 4 of RFC3548: http://www.faqs.org/rfcs/rfc3548.html. |
Constructor Summary | |
---|---|
Base64()
|
Method Summary | |
---|---|
static byte[] |
decode(byte[] bytes)
|
static byte[] |
encode(byte[] bytes)
|
static boolean |
isBase64(byte[] bytes)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NO_OPTIONS
public static final int ENCODE
public static final int DECODE
public static final int DO_BREAK_LINES
public static final int URL_SAFE
public static final int ORDERED
Constructor Detail |
---|
public Base64()
Method Detail |
---|
public static byte[] decode(byte[] bytes)
public static byte[] encode(byte[] bytes)
public static boolean isBase64(byte[] bytes)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |