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
request
IRequestThe request to have the signature compute for
clientConfig
IClientConfigThe configuration that specifies which hashing algorithm to use
metrics
RequestMetricsRequest metrics
credentials
ImmutableCredentialsAWS 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
request
IRequestThe request to have the signature compute for
clientConfig
IClientConfigThe configuration that specifies which hashing algorithm to use
metrics
RequestMetricsRequest metrics
awsAccessKeyId
stringThe AWS public key
awsSecretAccessKey
stringThe AWS secret key used to sign the request in clear text
Exceptions
- SignatureException
If any problems are encountered while signing the request