39 #include <QSharedData>
40 #include <QSharedDataPointer>
151 bool isSecure()
const;
161 QByteArray toByteArray()
const;
166 bool isEmpty()
const;
182 const char *data()
const;
192 const char *constData()
const;
204 const char & at(
int index)
const;
262 char & at(
int index);
269 bool resize(
int size);
280 void set(
const QByteArray &from,
bool secure);
293 void setSecure(
bool secure);
298 QSharedDataPointer<Private> d;
396 char & operator[](
int index);
403 const char & operator[](
int index)
const;
421 const char *data()
const;
430 const char *constData()
const;
437 char & at(
int index);
444 const char & at(
int index)
const;
460 bool isEmpty()
const;
470 bool resize(
int size);
486 void fill(
char fillChar,
int fillToPosition = -1);
493 QByteArray toByteArray()
const;
518 return !(*
this == other);
543 void set(
const QByteArray &from);
552 QCA_EXPORT
const SecureArray
operator+(
const SecureArray &a,
const SecureArray &b);
723 QString toString()
const;
737 bool fromString(
const QString &s);
771 return (compare(other) == 0);
782 return !(*
this == other);
794 return (compare(other) <= 0);
806 return (compare(other) >= 0);
818 return (compare(other) < 0);
830 return (compare(other) > 0);
835 QSharedDataPointer<Private> d;
848 QCA_EXPORT QTextStream &operator<<(QTextStream &stream,
const BigInteger &b);
bool operator==(const BigInteger &other) const
Equality operator.
Definition: qca_tools.h:769
bool operator<(const BigInteger &other) const
Less than operator.
Definition: qca_tools.h:816
bool operator>(const BigInteger &other) const
Greater than operator.
Definition: qca_tools.h:828
bool operator!=(const MemoryRegion &other) const
Inequality operator.
Definition: qca_tools.h:516
Preprocessor magic to allow export of library symbols.
QCA - the Qt Cryptographic Architecture.
Definition: qca_basic.h:47
bool operator>=(const BigInteger &other) const
Greater than or equal operator.
Definition: qca_tools.h:804
bool operator!=(const BigInteger &other) const
Inequality operator.
Definition: qca_tools.h:780
Secure array of bytes.
Definition: qca_tools.h:316
QCA_EXPORT const SecureArray operator+(const SecureArray &a, const SecureArray &b)
Returns an array that is the result of concatenating a and b.
bool operator<=(const BigInteger &other) const
Less than or equal operator.
Definition: qca_tools.h:792
Arbitrary precision integer.
Definition: qca_tools.h:570
Array of bytes that may be optionally secured.
Definition: qca_tools.h:90