public class AWS4SignerTest extends Object
| Modifier and Type | Field and Description | 
|---|---|
static String | 
CERT_STRING  | 
static String | 
PRIVATE_KEY_STRING  | 
| Constructor and Description | 
|---|
AWS4SignerTest()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
getDateStamp()  | 
void | 
getTimeStamp()  | 
void | 
invalidEndpointResultsInIllegalArgumentException()  | 
void | 
signingWithSpacesInHeaderValues_trimsHeaderValues()  | 
void | 
testAnonymous()
Tests that if passed anonymous credentials, signer will not generate a signature 
 | 
void | 
testDoubleURLEncode()  | 
void | 
testPresigning_ForRequestToBjsRegion()  | 
void | 
testPresigning()  | 
void | 
testSigning_ForRequestToBjsRegion()  | 
void | 
testSigning()  | 
void | 
xAmznTraceId_NotSigned()
x-amzn-trace-id should not be signed as it may be mutated by proxies or load balancers. 
 | 
public static final String PRIVATE_KEY_STRING
public static final String CERT_STRING
public void testDoubleURLEncode()
public void signingWithSpacesInHeaderValues_trimsHeaderValues()
                                                       throws Exception
Exceptionpublic void testSigning_ForRequestToBjsRegion()
                                       throws Exception
Exceptionpublic void testPresigning_ForRequestToBjsRegion()
                                          throws Exception
Exceptionpublic void testAnonymous()
                   throws Exception
Exceptionpublic void xAmznTraceId_NotSigned()
                            throws Exception
Exceptionpublic void invalidEndpointResultsInIllegalArgumentException()
                                                      throws Exception
Exceptionpublic void getTimeStamp()
public void getDateStamp()
Copyright © 2024. All rights reserved.