com.hazelcast.aws.security
Class EC2RequestSigner

java.lang.Object
  extended by com.hazelcast.aws.security.EC2RequestSigner

public class EC2RequestSigner
extends Object

Created by igmar on 03/11/14.


Constructor Summary
EC2RequestSigner(AwsConfig config, String timeStamp)
           
 
Method Summary
protected  void addComponents(List<String> components, Map<String,String> attributes, String key)
           
 String createFormattedCredential()
           
protected  String getCanonicalHeaders()
           
protected  String getCanonicalizedQueryString(List<String> list)
           
 String getCanonicalizedQueryString(Map<String,String> attributes)
           
 String getCredentialScope()
           
protected  List<String> getListOfEntries(Map<String,String> entries)
           
 String getSignedHeaders()
           
 String sign(String service, Map<String,String> attributes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EC2RequestSigner

public EC2RequestSigner(AwsConfig config,
                        String timeStamp)
Method Detail

getCredentialScope

public String getCredentialScope()

getSignedHeaders

public String getSignedHeaders()

sign

public String sign(String service,
                   Map<String,String> attributes)

getCanonicalHeaders

protected String getCanonicalHeaders()

getCanonicalizedQueryString

public String getCanonicalizedQueryString(Map<String,String> attributes)

getCanonicalizedQueryString

protected String getCanonicalizedQueryString(List<String> list)

addComponents

protected void addComponents(List<String> components,
                             Map<String,String> attributes,
                             String key)

getListOfEntries

protected List<String> getListOfEntries(Map<String,String> entries)

createFormattedCredential

public String createFormattedCredential()


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.