libqtaws
0.1.0
UnofficialAWSlibraryforQt
|
Interface class for providing AWS signatures. More...
Public Member Functions | |
virtual | ~AwsAbstractSignature () |
AwsAbstractSignature destructor. | |
virtual void | sign (const AwsAbstractCredentials &credentials, const QNetworkAccessManager::Operation operation, QNetworkRequest &request, const QByteArray &data=QByteArray()) const =0 |
Sign an AWS request. More... | |
virtual int | version () const =0 |
AWS Signature version implemented by this class. More... | |
Interface class for providing AWS signatures.
|
pure virtual |
Sign an AWS request.
Note, credentials must be valid before calling this function. So, for example, if credentials has expired, and is refreshable, it is the caller's responsibility to refresh the credentials before calling this function.
operation | The network operation to sign request for. |
request | The network request to be signed. |
credentials | The credentials to use for signing. |
data | Optional POST / PUT data to sign request for. |
Implemented in AwsSignatureV2, AwsSignatureV3, AwsSignatureV4, and AwsSignatureV0.
|
pure virtual |
AWS Signature version implemented by this class.
Derived classes must implement this function to report the version of the AWS Signature implemented by the class.
Implemented in AwsSignatureV3, AwsSignatureV4, AwsSignatureV2, AwsSignatureV0, and AwsSignatureV1.