Package | Description |
---|---|
com.amazonaws.auth | |
com.amazonaws.services.s3.internal |
Modifier and Type | Method and Description |
---|---|
private void |
AWS4Signer.addPreSignInformationToRequest(SignableRequest<?> request,
AWSCredentials credentials,
AWS4SignerRequestParams signerParams,
java.lang.String timeStamp,
long expirationInSeconds)
Includes all the signing headers as request parameters for pre-signing.
|
private java.lang.String |
AWS4Signer.buildAuthorizationHeader(SignableRequest<?> request,
byte[] signature,
AWSCredentials credentials,
AWS4SignerRequestParams signerParams)
Creates the authorization header to be included in the request.
|
protected byte[] |
AWS4Signer.computeSignature(java.lang.String stringToSign,
byte[] signingKey,
AWS4SignerRequestParams signerRequestParams)
Step 3 of the AWS Signature version 4 calculation.
|
private java.lang.String |
AWS4Signer.computeSigningCacheKeyName(AWSCredentials credentials,
AWS4SignerRequestParams signerRequestParams)
Computes the name to be used to reference the signing key in the cache.
|
protected java.lang.String |
AWS4Signer.createStringToSign(java.lang.String canonicalRequest,
AWS4SignerRequestParams signerParams)
Step 2 of the AWS Signature version 4 calculation.
|
private byte[] |
AWS4Signer.deriveSigningKey(AWSCredentials credentials,
AWS4SignerRequestParams signerRequestParams)
Step 3 of the AWS Signature version 4 calculation.
|
protected void |
AWS4Signer.processRequestPayload(SignableRequest<?> request,
byte[] signature,
byte[] signingKey,
AWS4SignerRequestParams signerRequestParams)
Subclass could override this method to perform any additional procedure
on the request payload, with access to the result from signing the
header.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AWSS3V4Signer.processRequestPayload(SignableRequest<?> request,
byte[] signature,
byte[] signingKey,
AWS4SignerRequestParams signerRequestParams)
If necessary, creates a chunk-encoding wrapper on the request payload.
|