There is a command:
echo -en ${stringToSign} | openssl sha1 -hmac ${s3Secret} -binary | base64
Tell me how I can reproduce the result in Java, maybe there are libraries?
P.S.
Shell wrapper libraries are not needed
The logic itself in Java is interesting