public class SignatureInfo extends Object
Required to create stringToSign and token.
Modifier and Type | Class and Description |
---|---|
static class |
SignatureInfo.Version
Signature version.
|
Constructor and Description |
---|
SignatureInfo(SignatureInfo.Version version,
String date,
String dateTime,
String awsAccessId,
String signature,
String signedHeaders,
String credentialScope,
String algorithm,
boolean signPayload)
Constructs a new
SignatureInfo . |
Modifier and Type | Method and Description |
---|---|
String |
getAlgorithm() |
String |
getAwsAccessId() |
String |
getCredentialScope() |
String |
getDate() |
String |
getDateTime() |
String |
getSignature() |
String |
getSignedHeaders() |
SignatureInfo.Version |
getVersion() |
boolean |
isSignPayload() |
public SignatureInfo(SignatureInfo.Version version, String date, String dateTime, String awsAccessId, String signature, String signedHeaders, String credentialScope, String algorithm, boolean signPayload)
SignatureInfo
.version
- date
- dateTime
- awsAccessId
- signature
- signedHeaders
- credentialScope
- algorithm
- signPayload
- public String getAwsAccessId()
public String getSignature()
public String getDate()
public String getSignedHeaders()
public String getCredentialScope()
public String getAlgorithm()
public SignatureInfo.Version getVersion()
public boolean isSignPayload()
public String getDateTime()
Copyright © 2023. All Rights Reserved.