public final class DefaultV4RequestSigner extends Object implements V4RequestSigner
All signing information, such as signature, signing key, canonical request, etc. is present in result object that is returned. This can be used by the caller to add the auth info to the request, such as adding the signature as a query parameter or building an authorization header using the signature and canonical request headers.
| Constructor and Description |
|---|
DefaultV4RequestSigner(V4Properties properties,
String contentHash) |
| Modifier and Type | Method and Description |
|---|---|
V4RequestSigningResult |
sign(SdkHttpRequest.Builder requestBuilder)
Given a request builder, sign the request and return a result containing the signed request and its properties.
|
public DefaultV4RequestSigner(V4Properties properties, String contentHash)
public V4RequestSigningResult sign(SdkHttpRequest.Builder requestBuilder)
V4RequestSignersign in interface V4RequestSignerCopyright © 2023. All rights reserved.