Class AWS4aSigningResult
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
awsAccessKeyIdstringThe access key that was included in the signature
signedAtDateTimeDate/time (UTC) that the signature was computed
signedHeadersstringThe collection of headers names that were included in the signature
scopestringFormatted 'scope' value for signing (YYYYMMDD/region/service/aws4_request)
regionSetstringThe set of AWS regions this signature is valid for
signaturestringComputed signature
servicestringService the request was signed for
presignedUristringPresigned Uri
credentialsImmutableCredentialsCredentials 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
ForAuthorizationHeader
Returns the signature in a form usable as an 'Authorization' header value.
public override string ForAuthorizationHeader { get; }
Property Value
PresignedUri
Returns the full presigned Uri
public string PresignedUri { get; }
Property Value
RegionSet
Returns the set of regions this signature is valid for
public string RegionSet { get; }
Property Value
Service
Returns the service the request was signed for
public string Service { get; }
Property Value
Signature
Returns the hex string representing the signature
public override string Signature { get; }