Table of Contents

Class AWS4aSigningResult

Namespace
Amazon.Runtime.Internal.Auth
Assembly
AWSSDK.Core.dll

Encapsulates the various fields and eventual signing value that makes up an AWS4a signature. This can be used to retrieve the required authorization string or authorization query parameters for the final request as well as hold ongoing signature computations for subsequent calls related to the initial signing.

public class AWS4aSigningResult : AWSSigningResultBase
Inheritance
AWS4aSigningResult
Inherited Members

Constructors

AWS4aSigningResult(string, DateTime, string, string, string, string, string, string, ImmutableCredentials)

Constructs a new signing result instance for a computed signature

public AWS4aSigningResult(string awsAccessKeyId, DateTime signedAt, string signedHeaders, string scope, string regionSet, string signature, string service, string presignedUri, ImmutableCredentials credentials)

Parameters

awsAccessKeyId string

The access key that was included in the signature

signedAt DateTime

Date/time (UTC) that the signature was computed

signedHeaders string

The collection of headers names that were included in the signature

scope string

Formatted 'scope' value for signing (YYYYMMDD/region/service/aws4_request)

regionSet string

The set of AWS regions this signature is valid for

signature string

Computed signature

service string

Service the request was signed for

presignedUri string

Presigned Uri

credentials ImmutableCredentials

Credentials of the AWS account making the signed request

Properties

Credentials

Returns the credentials of the AWS account making the signed request

public ImmutableCredentials Credentials { get; }

Property Value

ImmutableCredentials

ForAuthorizationHeader

Returns the signature in a form usable as an 'Authorization' header value.

public override string ForAuthorizationHeader { get; }

Property Value

string

PresignedUri

Returns the full presigned Uri

public string PresignedUri { get; }

Property Value

string

RegionSet

Returns the set of regions this signature is valid for

public string RegionSet { get; }

Property Value

string

Service

Returns the service the request was signed for

public string Service { get; }

Property Value

string

Signature

Returns the hex string representing the signature

public override string Signature { get; }

Property Value

string