Class AwsSigningUtils


  • public class AwsSigningUtils
    extends Object
    Internal utility/testing functions for verifying sigv4a signatures.
    • Constructor Detail

      • AwsSigningUtils

        public AwsSigningUtils()
    • Method Detail

      • verifySigv4aEcdsaSignature

        public static boolean verifySigv4aEcdsaSignature​(HttpRequest request,
                                                         String expectedCanonicalRequest,
                                                         AwsSigningConfig config,
                                                         byte[] hexEncodedSignature,
                                                         String verifierPubX,
                                                         String verifierPubY)
      • verifyRawSha256EcdsaSignature

        public static boolean verifyRawSha256EcdsaSignature​(byte[] stringToSign,
                                                            byte[] hexEncodedSignature,
                                                            String verifierPubX,
                                                            String verifierPubY)