Interface V4RequestSigner
- All Known Implementing Classes:
- DefaultV4RequestSigner
An interface which declares an algorithm that takes a request and a content-hash and signs the request according to the SigV4
 process.
- 
Method SummaryModifier and TypeMethodDescriptionstatic V4RequestSigneranonymous(V4Properties properties) Retrieve an implementation of a V4RequestSigner to handle the anonymous credentials case, where the request is not sigend at all.static V4RequestSignercreate(V4Properties properties, String contentHash) Retrieve an implementation of a V4RequestSigner, which signs the request, but does not add authentication to the request.static V4RequestSignerheader(V4Properties properties) Retrieve an implementation of a V4RequestSigner, which signs the request and adds authentication through headers.static V4RequestSignerpresigned(V4Properties properties, Duration expirationDuration) Retrieve an implementation of a V4RequestSigner, which signs the request and adds authentication through query parameters, which includes an expiration param, signalling how long a request signature is valid.static V4RequestSignerquery(V4Properties properties) Retrieve an implementation of a V4RequestSigner, which signs the request and adds authentication through query parameters.sign(SdkHttpRequest.Builder requestBuilder) Given a request builder, sign the request and return a result containing the signed request and its properties.
- 
Method Details- 
createRetrieve an implementation of a V4RequestSigner, which signs the request, but does not add authentication to the request.
- 
headerRetrieve an implementation of a V4RequestSigner, which signs the request and adds authentication through headers.
- 
queryRetrieve an implementation of a V4RequestSigner, which signs the request and adds authentication through query parameters.
- 
presignedRetrieve an implementation of a V4RequestSigner, which signs the request and adds authentication through query parameters, which includes an expiration param, signalling how long a request signature is valid.
- 
anonymousRetrieve an implementation of a V4RequestSigner to handle the anonymous credentials case, where the request is not sigend at all.
- 
signGiven a request builder, sign the request and return a result containing the signed request and its properties.
 
-