C# Class Amazon.Runtime.Internal.Auth.AWS3Signer

Inheritance: AbstractAWSSigner
Mostra file Open project: aws/aws-sdk-net

Private Properties

Property Type Description
GetCanonicalizedHeadersForStringToSign string
GetCanonicalizedQueryString string
GetCanonicalizedResourcePath string
GetHeadersForStringToSign List
GetRequestPayload string
GetSignedHeadersComponent string
IsHttpsRequest bool
SignHttp void
SignHttps void

Public Methods

Method Description
AWS3Signer ( ) : System
AWS3Signer ( bool useAws3Https ) : System
Sign ( IRequest request, IClientConfig clientConfig, RequestMetrics metrics, string awsAccessKeyId, string awsSecretAccessKey ) : void

Signs the specified request with the AWS3 signing protocol by using the AWS account credentials given in the method parameters.

Private Methods

Method Description
GetCanonicalizedHeadersForStringToSign ( IRequest request ) : string
GetCanonicalizedQueryString ( string>.IDictionary parameters ) : string
GetCanonicalizedResourcePath ( Uri endpoint ) : string
GetHeadersForStringToSign ( IRequest request ) : List
GetRequestPayload ( IRequest request ) : string
GetSignedHeadersComponent ( IRequest request ) : string
IsHttpsRequest ( IRequest request ) : bool
SignHttp ( IRequest request, RequestMetrics metrics, string awsAccessKeyId, string awsSecretAccessKey ) : void
SignHttps ( IRequest request, IClientConfig clientConfig, RequestMetrics metrics, string awsAccessKeyId, string awsSecretAccessKey ) : void

Method Details

AWS3Signer() public method

public AWS3Signer ( ) : System
return System

AWS3Signer() public method

public AWS3Signer ( bool useAws3Https ) : System
useAws3Https bool
return System

Sign() public method

Signs the specified request with the AWS3 signing protocol by using the AWS account credentials given in the method parameters.
If any problems are encountered while signing the request
public Sign ( IRequest request, IClientConfig clientConfig, RequestMetrics metrics, string awsAccessKeyId, string awsSecretAccessKey ) : void
request IRequest The request to have the signature compute for
clientConfig IClientConfig The configuration that specifies which hashing algorithm to use
metrics Amazon.Runtime.Internal.Util.RequestMetrics Request metrics
awsAccessKeyId string The AWS public key
awsSecretAccessKey string The AWS secret key used to sign the request in clear text
return void