public class S3QueryStringSigner extends AbstractAWSSigner
EMPTY_STRING_SHA256_HEX
Constructor and Description |
---|
S3QueryStringSigner(String httpVerb,
String resourcePath,
Date expiration) |
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)
Sign the given request with the given set of credentials.
|
getBinaryRequestPayload, getBinaryRequestPayloadStream, getBinaryRequestPayloadStreamWithoutQueryParams, getBinaryRequestPayloadWithoutQueryParams, getCanonicalizedEndpoint, getCanonicalizedQueryString, getCanonicalizedQueryString, getCanonicalizedResourcePath, getCanonicalizedResourcePath, getRequestPayload, getRequestPayloadWithoutQueryParams, getSignatureDate, getTimeOffset, hash, hash, hash, newString, sanitizeCredentials, sign, sign, signAndBase64Encode, signAndBase64Encode, signWithMac
public void sign(SignableRequest<?> request, AWSCredentials credentials) throws SdkClientException
Signer
request
- The request to sign.credentials
- The credentials to sign the request with.SdkClientException
protected void addSessionCredentials(SignableRequest<?> request, AWSSessionCredentials credentials)
AbstractAWSSigner
addSessionCredentials
in class AbstractAWSSigner
request
- The request to add session credentials information tocredentials
- The session credentials to add to the requestCopyright © 2024. All rights reserved.