|
Qt Cryptographic Architecture
|
#include <QtCrypto>

Public Member Functions | |
| void | clear () override |
| MemoryRegion | final () override |
| Hex (Direction dir=Encode) | |
| bool | ok () const override |
| MemoryRegion | update (const MemoryRegion &a) override |
| Public Member Functions inherited from QCA::TextFilter | |
| QString | arrayToString (const MemoryRegion &a) |
| MemoryRegion | decode (const MemoryRegion &a) |
| QString | decodeString (const QString &s) |
| Direction | direction () const |
| MemoryRegion | encode (const MemoryRegion &a) |
| QString | encodeString (const QString &s) |
| void | setup (Direction dir) |
| MemoryRegion | stringToArray (const QString &s) |
| TextFilter (Direction dir) | |
| Public Member Functions inherited from QCA::Filter | |
| MemoryRegion | process (const MemoryRegion &a) |
Additional Inherited Members | |
| Protected Attributes inherited from QCA::TextFilter | |
| Direction | _dir |
Hexadecimal encoding / decoding.
Standard constructor.
| dir | the Direction that should be used. |
References QCA::Encode.
Referenced by ok().
|
overridevirtual |
|
overridevirtual |
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().
| a | the array containing data to process |
Implements QCA::Filter.
|
overridevirtual |
Complete the algorithm.
Implements QCA::Filter.
|
overridevirtual |
Test if an update() or final() call succeeded.
Implements QCA::Filter.
References Hex().