Table of Contents

Class QueryStringSigner

Namespace
Amazon.Runtime.Internal.Auth
Assembly
AWSSDK.Core.dll
public class QueryStringSigner : AbstractAWSSigner
Inheritance
QueryStringSigner
Inherited Members

Constructors

QueryStringSigner()

public QueryStringSigner()

Properties

Protocol

public override ClientProtocol Protocol { get; }

Property Value

ClientProtocol

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 IRequest

The request to have the signature compute for

clientConfig IClientConfig

The configuration that specifies which hashing algorithm to use

metrics RequestMetrics

Request metrics

credentials ImmutableCredentials

AWS 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 IRequest

The request to have the signature compute for

clientConfig IClientConfig

The configuration that specifies which hashing algorithm to use

metrics RequestMetrics

Request metrics

awsAccessKeyId string

The AWS public key

awsSecretAccessKey string

The AWS secret key used to sign the request in clear text

Exceptions

SignatureException

If any problems are encountered while signing the request