edu.vt.middleware.crypt.util.Base64Converter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vt-crypt Show documentation
Show all versions of vt-crypt Show documentation
Library for performing common cryptographic operations
/*
$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