class OpenSSLBase64Impl |
This class is the subclass of Base64Impl which implements the functionality of Base64 data encoding and decoding.
![]() | OpenSSLBase64Impl () Constructs this object. |
![]() | ~OpenSSLBase64Impl () Destroys this object |
This class is the subclass of Base64Impl which implements the functionality of Base64 data encoding and decoding. This class contains a data buffer and an openssl EVP-encode-context structure. The methods are implemented by calls to the openssl library. The use model for this class is to intialize the object for either encoding or decoding which empties the buffer and sets the context. Data is then appended to the buffer by one or more update calls. Finally a doEncode or doDecode method is called which en/decodes the accumlated data and returns the en/decoded string.
Comment: will not work if the encoded string 'enc' is broken up and this function is called several times to decode the string.
Alphabetic index HTML hierarchy of classes or Java