public class QueryStringSigner extends AbstractAWSSigner implements Signer
EMPTY_STRING_SHA256_HEX| Constructor and Description | 
|---|
| QueryStringSigner() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | addSessionCredentials(SignableRequest<?> request,
                     AWSSessionCredentials credentials)Adds session credentials to the request given. | 
| void | sign(SignableRequest<?> request,
    AWSCredentials credentials)This signer will add "Signature" parameter to the request. | 
| void | sign(SignableRequest<?> request,
    SignatureVersion version,
    SigningAlgorithm algorithm,
    AWSCredentials credentials)This signer will add following authentication parameters to the request:
 AWSAccessKeyId SignatureVersion SignatureMethod Timestamp Signature | 
getBinaryRequestPayload, getBinaryRequestPayloadStream, getBinaryRequestPayloadStreamWithoutQueryParams, getBinaryRequestPayloadWithoutQueryParams, getCanonicalizedEndpoint, getCanonicalizedQueryString, getCanonicalizedQueryString, getCanonicalizedResourcePath, getCanonicalizedResourcePath, getRequestPayload, getRequestPayloadWithoutQueryParams, getSignatureDate, getTimeOffset, hash, hash, hash, newString, sanitizeCredentials, sign, sign, signAndBase64Encode, signAndBase64Encode, signWithMacpublic void sign(SignableRequest<?> request, AWSCredentials credentials) throws SdkClientException
sign in interface Signerrequest - request to be signed.credentials - The credentials used to use to sign the request.SdkClientExceptionpublic void sign(SignableRequest<?> request, SignatureVersion version, SigningAlgorithm algorithm, AWSCredentials credentials) throws SdkClientException
request - request to be signed.version - signature version. "2" is recommended.algorithm - signature algorithm. "HmacSHA256" is recommended.SdkClientExceptionprotected void addSessionCredentials(SignableRequest<?> request, AWSSessionCredentials credentials)
AbstractAWSSigneraddSessionCredentials in class AbstractAWSSignerrequest - The request to add session credentials information tocredentials - The session credentials to add to the requestCopyright © 2017. All rights reserved.