Package com.eka.middleware.pub.util.auth
Class AWSV4Auth
java.lang.Object
com.eka.middleware.pub.util.auth.AWSV4Auth
Example: Signing AWS Requests with Signature Version 4 in Java.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidaddAwsHeaders(Map<String, String> headers, String httpMethodName, Map<String, String> queryParametes, String canonicalURI, String accessKeyID, String secretAccessKey, String regionName, String serviceName, String payload, byte[] payloadBytes) Task 4: Add the Signing Information to the Request.static StringbytesToHex_1(byte[] bytes) 
- 
Constructor Details- 
AWSV4Authpublic AWSV4Auth()
 
- 
- 
Method Details- 
addAwsHeaderspublic static void addAwsHeaders(Map<String, String> headers, String httpMethodName, Map<String, String> queryParametes, String canonicalURI, String accessKeyID, String secretAccessKey, String regionName, String serviceName, String payload, byte[] payloadBytes) Task 4: Add the Signing Information to the Request. We'll return Map of all headers put this headers in your request.
- 
bytesToHex_1
 
-