Here is a port of AWS_S3_1_1.zip of:
https://www.b4x.com/android/forum/threads/amazon-web-services-s3-v4-signature-calculator.81006/
The attached zip contains a code module that calculates V4 signatures for Amazon Web Services (AWS) Simple Storage Service (S3) REST API requests, enabling creation of AWS S3 PUT/GET/DELETE requests.
You basically just plug in the properties necessary for a signature calculation and call Signature.
The accompanying example code has 4 worked examples that actually generate the signatures the AWS documentation says they should.
There is extensive in-line documentation.
I could never get:
https://www.b4x.com/android/forum/threads/amazon-s3-library.38699/#post-335436
working but am indebted to it for some hints in a couple of areas.
The port was only possible with some of Erel's secret sauce:
https://www.b4x.com/android/forum/t...es-v4-signature-calculator.81036/#post-513785
NOTE: THIS VERSION OF THE CODE MODULE IS CROSS PLATFORM (BOTH B4A and B4I).
Enjoy...
Refer to subsequent posts #2, #3, #4 and #5 of:
https://www.b4x.com/android/forum/threads/amazon-web-services-s3-v4-signature-calculator.81006/
for practical ways to use the module with AWS S3 buckets - I will leave it to you to do the porting...
https://www.b4x.com/android/forum/threads/amazon-web-services-s3-v4-signature-calculator.81006/
The attached zip contains a code module that calculates V4 signatures for Amazon Web Services (AWS) Simple Storage Service (S3) REST API requests, enabling creation of AWS S3 PUT/GET/DELETE requests.
You basically just plug in the properties necessary for a signature calculation and call Signature.
The accompanying example code has 4 worked examples that actually generate the signatures the AWS documentation says they should.
There is extensive in-line documentation.
I could never get:
https://www.b4x.com/android/forum/threads/amazon-s3-library.38699/#post-335436
working but am indebted to it for some hints in a couple of areas.
The port was only possible with some of Erel's secret sauce:
https://www.b4x.com/android/forum/t...es-v4-signature-calculator.81036/#post-513785
NOTE: THIS VERSION OF THE CODE MODULE IS CROSS PLATFORM (BOTH B4A and B4I).
Enjoy...
Refer to subsequent posts #2, #3, #4 and #5 of:
https://www.b4x.com/android/forum/threads/amazon-web-services-s3-v4-signature-calculator.81006/
for practical ways to use the module with AWS S3 buckets - I will leave it to you to do the porting...
Attachments
Last edited: