AwsSignatureV0 Class

(QtAws::Core::AwsSignatureV0)

The AwsSignatureV0 class provides V0 AWS signatures. More...

Header: #include <AwsSignatureV0>
Inherits: QtAws::Core::AwsAbstractSignature
Inherited By:

QtAws::Core::AwsSignatureV1

Public Functions

Reimplemented Public Functions

virtual void sign(const AwsAbstractCredentials &credentials, const QNetworkAccessManager::Operation operation, QNetworkRequest &request, const QByteArray &data = QByteArray()) const override
virtual int version() const override

Detailed Description

The AwsSignatureV0 class provides V0 AWS signatures.

Note: Amazon has officially deprecated signature Version 0 in favor of later, more secure signatures, such as AwsSignatureV2 and AwsSignatureV4.

As version 0 signatures are rightly regarded as insecure, this class will refuse to sign requests that use insecure transports such as HTTP instead of HTTPS. However, insecure signatures can be enabled (why would you want to?) by defining QTAWS_ALLOW_INSECURE_SIGNATURES when compiling this library.

See also http://s3.amazonaws.com/awsdocs/SQS/20070501/sqs-dg-20070501.pdf.

Member Function Documentation

AwsSignatureV0::AwsSignatureV0()

Constructs an AwsSignatureV0 object.

Use instances of this object to provide Version 0 signatures for AWS services.

[override virtual] void AwsSignatureV0::sign(const AwsAbstractCredentials &credentials, const QNetworkAccessManager::Operation operation, QNetworkRequest &request, const QByteArray &data = QByteArray()) const

Reimplemented from AwsAbstractSignature::sign().

[override virtual] int AwsSignatureV0::version() const

Reimplemented from AwsAbstractSignature::version().

Returns 0.

© 2018 Paul Colby Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.