Function aws_sigv4::event_stream::sign_empty_message
source ยท pub fn sign_empty_message<'a>(
last_signature: &'a str,
params: &'a SigningParams<'a>,
) -> Result<SigningOutput<Message>, SigningError>
Available on crate feature
sign-eventstream
only.Expand description
Returns a signed empty message
Empty signed event stream messages differ from normal signed event stream
in that the payload is 0-bytes rather than a nested message. There is no way
to create a signed empty message using sign_message
.