public final class AWS4SignerRequestParams extends Object
Constructor and Description |
---|
AWS4SignerRequestParams(SignableRequest<?> request,
Date signingDateOverride,
String regionNameOverride,
String serviceName,
String signingAlgorithm)
Generates an instance of AWS4signerRequestParams that holds the
parameters used for computing a AWS 4 signature for a request
|
AWS4SignerRequestParams(SignableRequest<?> request,
Date signingDateOverride,
String regionNameOverride,
String serviceName,
String signingAlgorithm,
String endpointPrefix)
Generates an instance of AWS4signerRequestParams that holds the
parameters used for computing a AWS 4 signature for a request
|
Modifier and Type | Method and Description |
---|---|
String |
getFormattedSigningDate()
Returns the formatted date in UTC zone of the signing date.
|
String |
getFormattedSigningDateTime()
Returns the formatted date and time of the signing date in UTC zone.
|
String |
getRegionName()
Returns the AWS region name to be used while computing the signature.
|
SignableRequest<?> |
getRequest()
Returns the request for which the signing needs to be done.
|
String |
getScope()
Returns the scope of the signing.
|
String |
getServiceName()
Returns the AWS Service name to be used while computing the signature.
|
String |
getSigningAlgorithm()
Returns the signing algorithm used for computing the signature.
|
long |
getSigningDateTimeMilli()
Returns the signing date time in millis for which the signature needs to
be computed.
|
public AWS4SignerRequestParams(SignableRequest<?> request, Date signingDateOverride, String regionNameOverride, String serviceName, String signingAlgorithm)
public AWS4SignerRequestParams(SignableRequest<?> request, Date signingDateOverride, String regionNameOverride, String serviceName, String signingAlgorithm, String endpointPrefix)
public SignableRequest<?> getRequest()
public String getScope()
public String getFormattedSigningDateTime()
public long getSigningDateTimeMilli()
public String getRegionName()
public String getServiceName()
public String getFormattedSigningDate()
public String getSigningAlgorithm()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.