private String createSignature ( Credentials credentials , String secretKey ) { return new SignatureGenerator ( ) . generate ( secretKey , credentials . getMethod ( ) , credentials . getTimestamp ( ) , credentials . getPath ( ) , credentials . getContent ( ) ) ; }
Create a signature given the set of request credentials and a secret key .