Class AWS3Signer
public class AWS3Signer : AbstractAWSSigner
- Inheritance
-
AWS3Signer
- Inherited Members
Constructors
AWS3Signer()
public AWS3Signer()
AWS3Signer(bool)
public AWS3Signer(bool useAws3Https)
Parameters
useAws3Https
bool
Properties
Protocol
public override ClientProtocol Protocol { get; }
Property Value
Methods
Sign(IRequest, IClientConfig, RequestMetrics, string, string)
Signs the specified request with the AWS3 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
IRequestThe request to have the signature compute for
clientConfig
IClientConfigThe configuration that specifies which hashing algorithm to use
metrics
RequestMetricsRequest metrics
awsAccessKeyId
stringThe AWS public key
awsSecretAccessKey
stringThe AWS secret key used to sign the request in clear text
Exceptions
- SignatureException
If any problems are encountered while signing the request