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

Inheritance: QueryStringSigner
显示文件 Open project: scopely/aws-sdk-net

Private Properties

Property Type Description
SelectSigner AbstractAWSSigner

Public Methods

Method Description
EC2Signer ( ) : System

EC2 signer constructor

Sign ( IRequest request, ClientConfig clientConfig, RequestMetrics metrics, string awsAccessKeyId, string awsSecretAccessKey ) : void

Determines the appropriate signer and signs the request.

Private Methods

Method Description
SelectSigner ( IRequest irequest, ClientConfig config ) : AbstractAWSSigner

Inspects the supplied evidence to return the signer appropriate for the operation

Method Details

EC2Signer() public method

EC2 signer constructor
public EC2Signer ( ) : System
return System

Sign() public method

Determines the appropriate signer and signs the request.
If any problems are encountered while signing the request
public Sign ( IRequest request, ClientConfig clientConfig, RequestMetrics metrics, string awsAccessKeyId, string awsSecretAccessKey ) : void
request IRequest The request to have the signature compute for
clientConfig ClientConfig 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