\Swift_Signers_HeaderSigner
Header Signer Interface used to apply Header-Based Signature to a message
- Author: Xavier De Cock <xdecock@gmail.com>
Synopsis
interface Swift_Signers_HeaderSigner
extends Swift_Signer, Swift_InputByteStream
{
- // methods
- public Swift_Signers_HeaderSigner ignoreHeader()
- public Swift_Signers_HeaderSigner startBody()
- public Swift_Signers_HeaderSigner endBody()
- public Swift_Signers_HeaderSigner setHeaders()
- public Swift_Signers_HeaderSigner addSignature()
- public array getAlteredHeaders()
- // Inherited methods from Swift_Signer
- public void reset()
- // Inherited methods from Swift_InputByteStream
- public integer write()
- public void commit()
- public void bind()
- public void unbind()
- public void flushBuffers()
Hierarchy
Extends
Implemented by
Methods
public
- addSignature() — Add the header(s) to the headerSet
- endBody() — Give the signal that the body has finished streaming
- getAlteredHeaders() — Return the list of header a signer might tamper
- ignoreHeader() — Exclude an header from the signed headers
- setHeaders() — Give the headers already given
- startBody() — Prepare the Signer to get a new Body
Inherited from Swift_Signer
public
Inherited from Swift_InputByteStream
public
- bind() — Attach $is to this stream.
- commit() — For any bytes that are currently buffered inside the stream, force them off the buffer.
- flushBuffers() — Flush the contents of the stream (empty it) and set the internal pointer to the beginning.
- unbind() — Remove an already bound stream.
- write() — Writes $bytes to the end of the stream.