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

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

Private Properties

Свойство Тип Описание
GetCanonicalizedHeadersForStringToSign string
GetCanonicalizedQueryString string
GetCanonicalizedResourcePath string
GetHeadersForStringToSign List
GetRequestPayload string
GetSignedHeadersComponent string
IsHttpsRequest bool
SignHttp void
SignHttps void

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

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

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

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

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

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

public AWS3Signer ( ) : System
Результат System

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

public AWS3Signer ( bool useAws3Https ) : System
useAws3Https bool
Результат System

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

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