Class CrtUtils


  • public final class CrtUtils
    extends Object
    • Method Detail

      • sanitizeRequest

        public static SdkHttpRequest sanitizeRequest​(SdkHttpRequest request)
        Sanitize an SdkHttpRequest, in order to prepare it for converting to a CRT request destined to be signed.

        Sanitizing includes checking the path is not empty, filtering headers and query parameters that are forbidden in CRT, and adding the host header

      • toCredentials

        public static software.amazon.awssdk.crt.auth.credentials.Credentials toCredentials​(AwsCredentialsIdentity credentialsIdentity)
        Convert an AwsCredentialsIdentity to the CRT equivalent of credentials (Credentials).