public class Aws4SignerForQueryString extends Aws4SignerBase
Aws4SignerBase.ServiceAndRegion
creds, crypto, dateFormat, headerTag, serviceAndRegion, signatureWire, timestampFormat, timestampProvider
Constructor and Description |
---|
Aws4SignerForQueryString(SignatureWire signatureWire,
boolean isVhostStyle,
String headerTag,
com.google.common.base.Supplier<Credentials> creds,
com.google.common.base.Supplier<Date> timestampProvider,
Aws4SignerBase.ServiceAndRegion serviceAndRegion,
Crypto crypto) |
Modifier and Type | Method and Description |
---|---|
protected String |
getPayloadHash() |
protected HttpRequest |
sign(HttpRequest request,
long timeInSeconds) |
appendAmzHeaders, createStringToSign, getCanonicalizedQueryString, getContentLength, getContentType, hash, hash, hash, hex, hmacSHA256, hmacSHA256, hostHeaderFor, lowerCaseNaturalOrderKeys, signatureKey, urlEncode
@Inject public Aws4SignerForQueryString(SignatureWire signatureWire, @Named(value="jclouds.s3.virtual-host-buckets") boolean isVhostStyle, @Named(value="jclouds.aws.header.tag") String headerTag, com.google.common.base.Supplier<Credentials> creds, com.google.common.base.Supplier<Date> timestampProvider, Aws4SignerBase.ServiceAndRegion serviceAndRegion, Crypto crypto)
protected HttpRequest sign(HttpRequest request, long timeInSeconds) throws HttpException
HttpException
protected String getPayloadHash()
Copyright © 2009–2021 The Apache Software Foundation. All rights reserved.