com.ca.pki.util
Class Base64Coder

java.lang.Object
  |
  +--com.ca.pki.util.Base64Coder

public class Base64Coder
extends java.lang.Object

This class provides the facilities of base64 encoding and decoding. Encoding is the process of representing normal binary data using 65 predetermined printable characters. Every 6 bits are encoded into one such character. Decoding is the reverse process of encoding.


Constructor Summary
Base64Coder()
           
 
Method Summary
static byte[] decode(byte[] input)
          Decodes a byte array
static byte[] encode(byte[] input)
          Encodes a byte array
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Base64Coder

public Base64Coder()
Method Detail

encode

public static byte[] encode(byte[] input)
Encodes a byte array


decode

public static byte[] decode(byte[] input)
Decodes a byte array