Package com.tagtraum.ubermusic.amazon
Class SignedRequestsHelper
- java.lang.Object
-
- com.tagtraum.ubermusic.amazon.SignedRequestsHelper
-
public class SignedRequestsHelper extends Object
Helper to sign Amazon AWS requests.- Author:
- Hendrik Schreiber
-
-
Constructor Summary
Constructors Constructor Description SignedRequestsHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
sign(Map<String,String> params, LocaleConfiguration localeConfiguration)
String
timelessSign(Map<String,String> params, LocaleConfiguration localeConfiguration)
-
-
-
Constructor Detail
-
SignedRequestsHelper
public SignedRequestsHelper() throws NoSuchAlgorithmException, InvalidKeyException
-
-
Method Detail
-
sign
public String sign(Map<String,String> params, LocaleConfiguration localeConfiguration)
- Parameters:
params
- parameters to send.localeConfiguration
- localeConfiguration- Returns:
- signed URL
-
timelessSign
public String timelessSign(Map<String,String> params, LocaleConfiguration localeConfiguration)
- Parameters:
params
- parameters to send.localeConfiguration
- localeConfiguration- Returns:
- signed URL
-
-