Interface Signer
- All Known Subinterfaces:
AwsCrtS3V4aSigner
,AwsCrtV4aSigner
- All Known Implementing Classes:
AbstractAws4Signer
,AbstractAwsS3V4Signer
,AbstractAwsSigner
,AsyncAws4Signer
,Aws4Signer
,Aws4UnsignedPayloadSigner
,AwsS3V4Signer
,BaseAsyncAws4Signer
,BaseAws4Signer
,BaseEventStreamAsyncAws4Signer
,BearerTokenSigner
,DefaultAwsCrtS3V4aSigner
,DefaultAwsCrtV4aSigner
,EventStreamAws4Signer
,NoOpSigner
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface for the signer used for signing the requests. All SDK signer implementations will implement this interface.
-
Method Summary
Modifier and TypeMethodDescriptiondefault CredentialType
Method that retrievesCredentialType
i.e.sign
(SdkHttpFullRequest request, ExecutionAttributes executionAttributes) Method that takes in an request and returns a signed version of the request.
-
Method Details
-
sign
Method that takes in an request and returns a signed version of the request.- Parameters:
request
- The request to signexecutionAttributes
- Contains the attributes required for signing the request- Returns:
- A signed version of the input request
-
credentialType
Method that retrievesCredentialType
i.e. the type of Credentials used by the Signer while authorizing a request.- Returns:
- null by default else return
CredentialType
as defined by the signer implementation.
-