Class DefaultAwsCrtV4aHttpSigner
- java.lang.Object
-
- software.amazon.awssdk.http.auth.aws.crt.internal.signer.DefaultAwsCrtV4aHttpSigner
-
- All Implemented Interfaces:
AwsV4aHttpSigner,AwsV4FamilyHttpSigner<AwsCredentialsIdentity>,HttpSigner<AwsCredentialsIdentity>
public final class DefaultAwsCrtV4aHttpSigner extends Object implements AwsV4aHttpSigner
An implementation of aAwsV4aHttpSignerthat uses properties to compose v4a-signers in order to delegate signing of a request and payload (if applicable) accordingly.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface software.amazon.awssdk.http.auth.aws.signer.AwsV4FamilyHttpSigner
AwsV4FamilyHttpSigner.AuthLocation
-
-
Field Summary
-
Fields inherited from interface software.amazon.awssdk.http.auth.aws.signer.AwsV4aHttpSigner
REGION_SET
-
Fields inherited from interface software.amazon.awssdk.http.auth.aws.signer.AwsV4FamilyHttpSigner
AUTH_LOCATION, CHECKSUM_ALGORITHM, CHUNK_ENCODING_ENABLED, DOUBLE_URL_ENCODE, EXPIRATION_DURATION, NORMALIZE_PATH, PAYLOAD_SIGNING_ENABLED, SERVICE_SIGNING_NAME
-
Fields inherited from interface software.amazon.awssdk.http.auth.spi.signer.HttpSigner
SIGNING_CLOCK
-
-
Constructor Summary
Constructors Constructor Description DefaultAwsCrtV4aHttpSigner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SignedRequestsign(SignRequest<? extends AwsCredentialsIdentity> request)CompletableFuture<AsyncSignedRequest>signAsync(AsyncSignRequest<? extends AwsCredentialsIdentity> request)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.http.auth.spi.signer.HttpSigner
doNotSign, sign, signAsync
-
-
-
-
Method Detail
-
sign
public SignedRequest sign(SignRequest<? extends AwsCredentialsIdentity> request)
- Specified by:
signin interfaceHttpSigner<AwsCredentialsIdentity>
-
signAsync
public CompletableFuture<AsyncSignedRequest> signAsync(AsyncSignRequest<? extends AwsCredentialsIdentity> request)
- Specified by:
signAsyncin interfaceHttpSigner<AwsCredentialsIdentity>
-
-