20 #ifndef AWSSIGNATUREV2_H
21 #define AWSSIGNATUREV2_H
23 #include "qtawsglobal.h"
24 #include "awsabstractsignature.h"
26 #include <QCryptographicHash>
30 class AwsSignatureV2Private;
35 AwsSignatureV2(
const QCryptographicHash::Algorithm hashAlgorithm = QCryptographicHash::Sha256);
38 QNetworkRequest &request,
const QByteArray &data = QByteArray())
const;
44 friend class TestAwsSignatureV2;
virtual int version() const =0
AWS Signature version implemented by this class.
virtual void sign(const AwsAbstractCredentials &credentials, const QNetworkAccessManager::Operation operation, QNetworkRequest &request, const QByteArray &data=QByteArray()) const =0
Sign an AWS request.
Implements AWS Signature Version 2.
Definition: awssignaturev2.h:32
Interface class for providing AWS credentials.
Definition: awsabstractcredentials.h:30
Interface class for providing AWS signatures.
Definition: awsabstractsignature.h:33