Class RollingSigner
- java.lang.Object
-
- software.amazon.awssdk.http.auth.aws.internal.signer.RollingSigner
-
public final class RollingSigner extends Object
A class which calculates a rolling signature of arbitrary data using HMAC-SHA256. Each time a signature is calculated, the prior calculation is incorporated, hence "rolling".
-
-
Constructor Summary
Constructors Constructor Description RollingSigner(byte[] signingKey, String seedSignature)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreset()Stringsign(Function<String,String> stringToSignTemplate)Using a template that incorporates the previous calculated signature, sign the string and return it.
-
-
-
Constructor Detail
-
RollingSigner
public RollingSigner(byte[] signingKey, String seedSignature)
-
-