All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.vt.middleware.crypt.util.Base64Converter Maven / Gradle / Ivy

There is a newer version: 2.2
Show newest version
/*
  $Id$

  Copyright (C) 2007-2011 Virginia Tech.
  All rights reserved.

  SEE LICENSE FOR MORE INFORMATION

  Author:  Middleware Services
  Email:   [email protected]
  Version: $Revision$
  Updated: $Date$
*/
package edu.vt.middleware.crypt.util;

import org.bouncycastle.util.encoders.Base64Encoder;
import org.bouncycastle.util.encoders.Encoder;

/**
 * Converts bytes to base-64 encoded strings and vice versa.
 *
 * @author  Middleware Services
 * @version  $Revision: 170 $
 */
public class Base64Converter extends AbstractEncodingConverter
{

  /** Does encoding work. */
  private Base64Encoder encoder = new Base64Encoder();

  /** {@inheritDoc} */
  protected Encoder getEncoder()
  {
    return encoder;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy