Package org.bouncycastle.util.encoders
Classes for producing and reading Base64 and Hex strings.
-
Interface Summary Interface Description Encoder Encode and decode byte arrays (typically from binary to 7-bit ASCII encodings).Translator General interface for a translator. -
Class Summary Class Description Base64 Utility class for converting Base64 data to bytes and back again.Base64Encoder A streaming Base64 encoder.BufferedDecoder A buffering class to allow translation from one format to another to be done in discrete chunks.BufferedEncoder A buffering class to allow translation from one format to another to be done in discrete chunks.Hex Utility class for converting hex data to bytes and back again.HexEncoder A streaming Hex encoder.HexTranslator Converters for going from hex to binary and back.UrlBase64 Convert binary data to and from UrlBase64 encoding.UrlBase64Encoder Convert binary data to and from UrlBase64 encoding.UTF8 Utilities for working with UTF-8 encodings. -
Exception Summary Exception Description DecoderException Exception thrown if an attempt is made to decode invalid data, or some other failure occurs.EncoderException Exception thrown if an attempt is made to encode invalid data, or some other failure occurs.