20 #ifndef AWSSIGNATUREV4_H
21 #define AWSSIGNATUREV4_H
23 #include "qtawsglobal.h"
24 #include "awsabstractsignature.h"
26 #include <QCryptographicHash>
30 class AwsSignatureV4Private;
35 AwsSignatureV4(
const QCryptographicHash::Algorithm hashAlgorithm = QCryptographicHash::Sha256);
38 const QNetworkAccessManager::Operation operation,
39 QNetworkRequest &request,
const QByteArray &data = QByteArray())
const;
45 friend class TestAwsSignatureV4;
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.
Interface class for providing AWS credentials.
Definition: awsabstractcredentials.h:30
Implements AWS Signature Version 4.
Definition: awssignaturev4.h:32
Interface class for providing AWS signatures.
Definition: awsabstractsignature.h:33