com.amazonaws.auth
Class QueryStringSigner
java.lang.Object
  
com.amazonaws.auth.AbstractAWSSigner
      
com.amazonaws.auth.QueryStringSigner
- All Implemented Interfaces: 
 - Signer
 
public class QueryStringSigner
- extends AbstractAWSSigner
- implements Signer
  
Signer implementation responsible for signing an AWS query string request
 according to the various signature versions and hashing algorithms.
 
 
 
| Methods inherited from class java.lang.Object | 
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
QueryStringSigner
public QueryStringSigner()
sign
public void sign(Request<?> request,
                 AWSCredentials credentials)
          throws AmazonClientException
- This signer will add "Signature" parameter to the request. Default
 signature version is "2" and default signing algorithm is "HmacSHA256".
 AWSAccessKeyId SignatureVersion SignatureMethod Timestamp Signature
- Specified by:
 sign in interface Signer
 
- Parameters:
 request - request to be signed.credentials - The credentials used to use to sign the request.
- Throws:
 AmazonClientException
 
 
sign
public void sign(Request<?> request,
                 SignatureVersion version,
                 SigningAlgorithm algorithm,
                 AWSCredentials credentials)
          throws AmazonClientException
- This signer will add following authentication parameters to the request:
 AWSAccessKeyId SignatureVersion SignatureMethod Timestamp Signature
 
- Parameters:
 request - request to be signed.version - signature version. "2" is recommended.algorithm - signature algorithm. "HmacSHA256" is recommended.
- Throws:
 AmazonClientException
 
 
                Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.