libqtaws  0.1.0
UnofficialAWSlibraryforQt
Public Member Functions | List of all members
AwsSignatureV1 Class Reference

Implements AWS Signature Version 1 (deprecated by Amazon). More...

Inheritance diagram for AwsSignatureV1:
Inheritance graph
[legend]
Collaboration diagram for AwsSignatureV1:
Collaboration graph
[legend]

Public Member Functions

 AwsSignatureV1 ()
 Constructs a new AwsSignatureV1 object. More...
 
virtual int version () const
 AWS Signature version implemented by this class. More...
 
- Public Member Functions inherited from AwsSignatureV0
 AwsSignatureV0 ()
 Constructs a new AwsSignatureV0 object. More...
 
virtual void sign (const AwsAbstractCredentials &credentials, const QNetworkAccessManager::Operation operation, QNetworkRequest &request, const QByteArray &data=QByteArray()) const
 Sign an AWS request. More...
 
- Public Member Functions inherited from AwsAbstractSignature
virtual ~AwsAbstractSignature ()
 AwsAbstractSignature destructor.
 

Detailed Description

Implements AWS Signature Version 1 (deprecated by Amazon).

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

As version 1 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
http://lmgtfy.com/?q=aws+signature+version+1+is+insecure

Constructor & Destructor Documentation

AwsSignatureV1::AwsSignatureV1 ( )

Constructs a new AwsSignatureV1 object.

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

Member Function Documentation

int AwsSignatureV1::version ( ) const
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.

Returns
The AWS Signature version implemented by this class.

Reimplemented from AwsSignatureV0.


The documentation for this class was generated from the following files: