SuffixNonceStrategy

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val nonceLength: Int

The amount of bytes this nonce will take up.

Functions

Link copied to clipboard
open override fun append(nonce: ByteArrayView, cursor: MutableByteArrayCursor)

Writes the nonce to cursor in the correct relative position.

Link copied to clipboard
open override fun generate(header: () -> ByteArrayView): ByteArrayView

Generates a nonce, may use the provided information.

Link copied to clipboard
open override fun strip(packet: RTPPacket): ByteArrayView

Reads the nonce from this packet (also removes it if it resides in the payload), and returns a ByteArrayView of it.