Class QueryStringSigner
public class QueryStringSigner : AbstractAWSSigner
- Inheritance
-
QueryStringSigner
- Inherited Members
Constructors
QueryStringSigner()
public QueryStringSigner()
Properties
Protocol
public override ClientProtocol Protocol { get; }
Property Value
Methods
Sign(IRequest, IClientConfig, RequestMetrics, ImmutableCredentials)
Signs the specified request with the AWS2 signing protocol by using the AWS account credentials given in the method parameters.
public override void Sign(IRequest request, IClientConfig clientConfig, RequestMetrics metrics, ImmutableCredentials credentials)
Parameters
requestIRequestThe request to have the signature compute for
clientConfigIClientConfigThe configuration that specifies which hashing algorithm to use
metricsRequestMetricsRequest metrics
credentialsImmutableCredentialsAWS credentials for the account making the request
Exceptions
- SignatureException
If any problems are encountered while signing the request
Sign(IRequest, IClientConfig, RequestMetrics, string, string)
Signs the specified request with the AWS2 signing protocol by using the AWS account credentials given in the method parameters.
public override void Sign(IRequest request, IClientConfig clientConfig, RequestMetrics metrics, string awsAccessKeyId, string awsSecretAccessKey)
Parameters
requestIRequestThe request to have the signature compute for
clientConfigIClientConfigThe configuration that specifies which hashing algorithm to use
metricsRequestMetricsRequest metrics
awsAccessKeyIdstringThe AWS public key
awsSecretAccessKeystringThe AWS secret key used to sign the request in clear text
Exceptions
- SignatureException
If any problems are encountered while signing the request