Menu
Amazon Simple Queue Service
Developer Guide (API Version 2012-11-05)

Java Sample Code for Calculating SHA256 Signatures

For an example of how to derive a Signature Version 4 Signing Key, see Deriving the Signing Key with Java.

Note

While both Signature Version 2 and Signature Version 4 support SHA256, only Signature Version 2 supports SHA1.