ark::aws::AwsSrpAuthenticator
Defined in header “ark/aws/aws_srp_authenticator.hh”.
An AWS-specific SRP authenticator. There are some minor differences from the true SRP protocol (near as I can tell) and this abstracts over them.
Methods
-
AwsSrpAuthenticator(std::string username, std::string password, std::string user_pool)
Constructor. -
~AwsSrpAuthenticator()
Destructor. -
std::string generate_challenge_claim_signature(const std::string & salt, const std::string & srp_b, const std::string & secret_block, const std::string & time_str)
Generates a claim signature based on the salt, B value, secret block, and time string, returning a SHA256’d HMAC suitable for sending to AWS. -
std::string A()