Class SignerUtils

java.lang.Object
com.mdsol.mauth.SignerUtils

public class SignerUtils extends Object
  • Constructor Details

    • SignerUtils

      public SignerUtils()
  • Method Details

    • signWithUri

      public static Map<String,String> signWithUri(Signer signer, String httpVerb, URI uri, byte[] requestPayload) throws com.mdsol.mauth.exceptions.MAuthSigningException
      Sign a request with the provided Signer. Request path and query parameter are extracted from the Java URI This helper function is provided to avoid confusion with whether the path / query string needs to be encoded or not
      Parameters:
      signer -
      httpVerb -
      uri -
      requestPayload -
      Returns:
      Throws:
      com.mdsol.mauth.exceptions.MAuthSigningException