|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.keyczar.util.Base64Coder
public class Base64Coder
A web-safe Base64 encoding and decoding utility class. See RFC 3548
| Method Summary | |
|---|---|
static byte[] |
decode(java.lang.String source)
Decodes a web-safe Base64 encoded string |
static java.lang.String |
encode(byte[] input)
Encodes an arbitrary array of input as a web-safe Base64 string. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static byte[] decode(java.lang.String source)
throws Base64DecodingException
source - The string to decode. May contain whitespace and optionally
up to two padding '=' characters.
Base64DecodingException - If the source string contains an illegal
character or is of an illegal length (1 mod 4).public static java.lang.String encode(byte[] input)
input - Input bytes to encode as a web-safe Base64 String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||