#include <QtCrypto>
Inheritance diagram for QCA::Base64:
Public Member Functions | |
Base64 (Direction dir=Encode) | |
bool | lineBreaksEnabled () const |
int | lineBreaksColumn () const |
void | setLineBreaksEnabled (bool b) |
void | setLineBreaksColumn (int column) |
virtual void | clear () |
virtual MemoryRegion | update (const MemoryRegion &a) |
virtual MemoryRegion | final () |
virtual bool | ok () const |
base64test.cpp, cmsexample.cpp, publickeyexample.cpp, saslservtest.cpp, and sasltest.cpp.
|
Standard constructor.
|
|
Returns true if line breaks are enabled.
|
|
Returns the line break column.
|
|
Sets line break mode. If enabled, linebreaks will be added to encoded output or accepted in encoded input. If disabled, linebreaks in encoded input will cause a failure to decode. The default is disabled. |
|
Sets the column that linebreaks should be inserted at when encoding.
|
|
Reset the internal state. This is useful to reuse an existing Base64 object Implements QCA::Filter. |
|
Process more data, returning the corresponding encoded or decoded (depending on the Direction set in the constructor or setup() call) representation. If you find yourself with code that only calls this method once, you might be better off using encode() or decode(). Similarly, if the data is really a string, you might be better off using arrayToString(), encodeString(), stringToArray() or decodeString().
Implements QCA::Filter. |
|
Complete the algorithm.
Implements QCA::Filter. |
|
Test if an update() or final() call succeeded.
Implements QCA::Filter. |