Package software.amazon.awssdk.iot
Class AwsSigv4HandshakeTransformer
- java.lang.Object
-
- software.amazon.awssdk.crt.CrtResource
-
- software.amazon.awssdk.iot.AwsSigv4HandshakeTransformer
-
- All Implemented Interfaces:
AutoCloseable
,Consumer<software.amazon.awssdk.crt.mqtt.WebsocketHandshakeTransformArgs>
public class AwsSigv4HandshakeTransformer extends software.amazon.awssdk.crt.CrtResource implements Consumer<software.amazon.awssdk.crt.mqtt.WebsocketHandshakeTransformArgs>
A websocket handshake transformer that adds a sigv4 signature for the handshake to the request. Required in order to connect to Aws IoT via websockets using sigv4 authentication.
-
-
Constructor Summary
Constructors Constructor Description AwsSigv4HandshakeTransformer(software.amazon.awssdk.crt.auth.signing.AwsSigningConfig signingConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(software.amazon.awssdk.crt.mqtt.WebsocketHandshakeTransformArgs handshakeArgs)
Modifies the handshake request to include its sigv4 signature-
Methods inherited from class software.amazon.awssdk.crt.CrtResource
addRef, addReferenceTo, close, collectNativeResource, collectNativeResources, decRef, getNativeHandle, getResourceLogDescription, isNull, logNativeResources, logNativeResources, removeReferenceTo, setDescription, waitForNoResources
-
-