Overview | Package | Class | Tree | Deprecated | Index | Help
| Sun Adapter for LDAP API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.stc.connector.ldapadapter.utils.cryptography.api
Interface Base64

All Known Implementing Classes:
  Base64Impl

    public interface Base64

Provides encode/decode functionality as defined in RFC 2045, by Freed and Borenstein. RFC 2045: Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies. Reference 1996.

Version:
  $Revision: 1.2 $, $Date: 2008/04/23 11:03:15 $
Author:

Method Summary
`byte[]` | `decodeBase64(byte[] aData)` Decodes the Base64 encoded aData.
`byte[]` | `encodeBase64(byte[] aData)` Encodes the aData to Base64 encoded form.

Method Detail

### encodeBase64

    byte[] encodeBase64(byte[] aData)

  Encodes the aData to Base64 encoded form.

  Parameters:
    `aData` - The data to be encoded in Base64.
  Returns:
    byte[] The encoded data.
  Throws:
    `java.lang.SecurityException` - Thrown when failed to encode.

### decodeBase64

    byte[] decodeBase64(byte[] aData)

  Decodes the Base64 encoded aData.

  Parameters:
    `aData` - The Base64 encoded data.
  Returns:
    byte[] The decoded data.
  Throws:
    `java.lang.SecurityException` - Thrown when failed to decode.

Overview | Package | Class | Tree | Deprecated | Index | Help
| Sun Adapter for LDAP API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD