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
Exception
public void testSigning_ForRequestToBjsRegion() throws Exception
Exception
public void testPresigning_ForRequestToBjsRegion() throws Exception
Exception
public void testAnonymous() throws Exception
Exception
public void xAmznTraceId_NotSigned() throws Exception
Exception
public void invalidEndpointResultsInIllegalArgumentException() throws Exception
Exception
public void getTimeStamp()
public void getDateStamp()
Copyright © 2024. All rights reserved.