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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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.static String
bytesToHex_1
(byte[] bytes)
-
Constructor Details
-
AWSV4Auth
public AWSV4Auth()
-
-
Method Details
-
addAwsHeaders
public 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
-