Class AwsSigningResult


  • public class AwsSigningResult
    extends java.lang.Object
    Wrapper that holds signing-related output. Depending on the signing configuration, not all members may be assigned and some members, like signature, may have a variable format.
    • Constructor Summary

      Constructors 
      Constructor Description
      AwsSigningResult()
      Default constructor
    • Constructor Detail

      • AwsSigningResult

        public AwsSigningResult()
        Default constructor
    • Method Detail

      • getSignedRequest

        public HttpRequest getSignedRequest()
        Gets the signed http request from the result
        Returns:
        the signed http request, or NULL if an http request was not signed
      • getSignature

        public byte[] getSignature()
        Gets the signature value from the result. Depending on the requested signature type and algorithm, this value will be in one of the following formats: (1) HTTP_REQUEST_VIA_HEADERS - hex encoding of the binary signature value (2) HTTP_REQUEST_VIA_QUERY_PARAMS - hex encoding of the binary signature value (3) HTTP_REQUEST_CHUNK/SIGV4 - hex encoding of the binary signature value (4) HTTP_REQUEST_CHUNK/SIGV4_ASYMMETRIC - '*'-padded hex encoding of the binary signature value (5) HTTP_REQUEST_EVENT - binary signature value (NYI)
        Returns:
        the signature value from the signing process