|
XML Security, 1.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.xml.crypto.util.Base64
public class Base64
Base64 encoder/decoder.
Constructor Summary | |
---|---|
Base64()
|
Method Summary | |
---|---|
static byte[] |
decode(byte[] data)
|
static byte[] |
decode(byte[] data,
int off,
int len)
|
static byte[] |
decode(char[] data,
int off,
int len)
|
static void |
decode(char[] data,
int off,
int len,
java.io.OutputStream ostream)
|
static byte[] |
decode(java.lang.String data)
|
static void |
decode(java.lang.String data,
java.io.OutputStream ostream)
|
static java.lang.String |
encode(byte[] data)
Returns base64 representation of specified byte array. |
static java.lang.String |
encode(byte[] data,
int off,
int len)
Returns base64 representation of specified byte array. |
static void |
encode(byte[] data,
int off,
int len,
java.io.OutputStream ostream)
Outputs base64 representation of the specified byte array to a byte stream. |
static void |
encode(byte[] data,
int off,
int len,
java.io.Writer writer)
Outputs base64 representation of the specified byte array to a character stream. |
static java.lang.String |
format(java.lang.String src,
int indent,
java.lang.String leading,
java.lang.String trailing)
|
static java.lang.String |
toHexString(byte[] ab)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Base64()
Method Detail |
---|
public static final byte[] decode(char[] data, int off, int len)
public static final byte[] decode(java.lang.String data)
public static final byte[] decode(byte[] data)
public static final byte[] decode(byte[] data, int off, int len)
public static void decode(char[] data, int off, int len, java.io.OutputStream ostream) throws java.io.IOException
java.io.IOException
public static final void decode(java.lang.String data, java.io.OutputStream ostream) throws java.io.IOException
java.io.IOException
public static final java.lang.String encode(byte[] data)
public static final java.lang.String encode(byte[] data, int off, int len)
public static final void encode(byte[] data, int off, int len, java.io.OutputStream ostream) throws java.io.IOException
java.io.IOException
public static void encode(byte[] data, int off, int len, java.io.Writer writer) throws java.io.IOException
java.io.IOException
public static java.lang.String format(java.lang.String src, int indent, java.lang.String leading, java.lang.String trailing)
indent
- should be less than 76.public static java.lang.String toHexString(byte[] ab)
|
XML Security, 1.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |