com.amazonaws.auth
Class AWS3Signer
java.lang.Object
com.amazonaws.auth.AbstractAWSSigner
com.amazonaws.auth.AWS3Signer
public class AWS3Signer
- extends AbstractAWSSigner
Signer implementation that signs requests with the AWS3 signing protocol.
Constructor Summary |
AWS3Signer(AWSCredentials credentials)
Constructs a new AWS3Signer using the specified AWS account credentials
to sign requests using the AWS3 signing protocol. |
Method Summary |
void |
sign(Request<?> request)
Signs the specified request with the AWS3 signing protocol by using the
AWS account credentials specified when this object was constructed and
adding the required AWS3 headers to the request. |
AWS3Signer
public AWS3Signer(AWSCredentials credentials)
- Constructs a new AWS3Signer using the specified AWS account credentials
to sign requests using the AWS3 signing protocol.
- Parameters:
credentials
- The AWS account credentials to use when signing requests.
sign
public void sign(Request<?> request)
throws SignatureException
- Signs the specified request with the AWS3 signing protocol by using the
AWS account credentials specified when this object was constructed and
adding the required AWS3 headers to the request.
- Parameters:
request
- The request to sign.
- Throws:
SignatureException
- If any problems are encountered while signing the request.
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.