Class AbstractAWSSigner
public abstract class AbstractAWSSigner
  - Inheritance
 - 
      
      AbstractAWSSigner
 
- Derived
 
- Inherited Members
 
Constructors
AbstractAWSSigner()
protected AbstractAWSSigner()
  Properties
Protocol
public abstract ClientProtocol Protocol { get; }
  Property Value
RequiresCredentials
Signals to the Signer Pipeline Handler if a Signer requires valid ImmutableCredentials in order to correctly Sign(IRequest, IClientConfig, RequestMetrics, ImmutableCredentials).
public virtual bool RequiresCredentials { get; }
  Property Value
Methods
ComputeHash(byte[], string, SigningAlgorithm)
Computes RFC 2104-compliant HMAC signature.
protected static string ComputeHash(byte[] data, string secretkey, SigningAlgorithm algorithm)
  Parameters
databyte[]secretkeystringalgorithmSigningAlgorithm
Returns
ComputeHash(string, string, SigningAlgorithm)
Computes RFC 2104-compliant HMAC signature.
protected static string ComputeHash(string data, string secretkey, SigningAlgorithm algorithm)
  Parameters
datastringsecretkeystringalgorithmSigningAlgorithm
Returns
SelectSigner(AbstractAWSSigner, bool, IRequest, IClientConfig)
protected AbstractAWSSigner SelectSigner(AbstractAWSSigner defaultSigner, bool useSigV4Setting, IRequest request, IClientConfig config)
  Parameters
defaultSignerAbstractAWSSigneruseSigV4SettingboolrequestIRequestconfigIClientConfig
Returns
SelectSigner(IRequest, IClientConfig)
protected AbstractAWSSigner SelectSigner(IRequest request, IClientConfig config)
  Parameters
requestIRequestconfigIClientConfig
Returns
Sign(IRequest, IClientConfig, RequestMetrics, ImmutableCredentials)
public virtual void Sign(IRequest request, IClientConfig clientConfig, RequestMetrics metrics, ImmutableCredentials credentials)
  Parameters
requestIRequestclientConfigIClientConfigmetricsRequestMetricscredentialsImmutableCredentials
Sign(IRequest, IClientConfig, RequestMetrics, string, string)
public abstract void Sign(IRequest request, IClientConfig clientConfig, RequestMetrics metrics, string awsAccessKeyId, string awsSecretAccessKey)
  Parameters
requestIRequestclientConfigIClientConfigmetricsRequestMetricsawsAccessKeyIdstringawsSecretAccessKeystring
SignAsync(IRequest, IClientConfig, RequestMetrics, ImmutableCredentials, CancellationToken)
public virtual Task SignAsync(IRequest request, IClientConfig clientConfig, RequestMetrics metrics, ImmutableCredentials credentials, CancellationToken token = default)
  Parameters
requestIRequestclientConfigIClientConfigmetricsRequestMetricscredentialsImmutableCredentialstokenCancellationToken
Returns
UseV4Signing(bool, IRequest, IClientConfig)
Inspects the supplied evidence to determine if sigv4 or sigv2 signing should be used
protected static bool UseV4Signing(bool useSigV4Setting, IRequest request, IClientConfig config)
  Parameters
useSigV4SettingboolGlobal setting for the service
requestIRequestThe request.
configIClientConfigConfiguration for the client
Returns
- bool
 True if signature v4 request signing should be used, false if v2 signing should be used