C# Класс Amazon.Runtime.Internal.Auth.EC2Signer

Наследование: QueryStringSigner
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
SelectSigner AbstractAWSSigner

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
SelectSigner ( IRequest irequest, ClientConfig config ) : AbstractAWSSigner

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

Описание методов

EC2Signer() публичный Метод

EC2 signer constructor
public EC2Signer ( ) : System
Результат System

Sign() публичный Метод

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
Результат void