java.lang.Object | |
↳ | org.springframework.security.crypto.codec.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.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | DECODE | Specify decoding in first bit. | |||||||||
int | DO_BREAK_LINES | Do break lines when encoding. | |||||||||
int | ENCODE | Specify encoding in first bit. | |||||||||
int | NO_OPTIONS | No options specified. | |||||||||
int | ORDERED | Encode using the special "ordered" dialect of Base64 described here: http://www.faqs.org/qa/rfcc-1940.html. | |||||||||
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. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Specify decoding in first bit. Value is zero.
Do break lines when encoding. Value is 8.
Specify encoding in first bit. Value is one.
No options specified. Value is zero.
Encode using the special "ordered" dialect of Base64 described here: http://www.faqs.org/qa/rfcc-1940.html.
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. 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.