-
- All Implemented Interfaces:
public interface ContentDependentAttributeContentDependentAttributes have a value that depend on the content of the message. The MessageIntegrityAttribute and are two such attributes.
Rather than encoding them via the standard encode method, the stack would use the one from this interface.
-
-
Method Summary
-
-
Method Detail
-
encode
abstract Array<byte> encode(StunStack stunStack, Array<byte> content, int offset, int length)
Returns a binary representation of this attribute.
- Parameters:
stunStack- the StunStack in the context of which the request to encode this ContentDependentAttribute is being madecontent- the content of the message that this attribute will be transported inoffset- the content-related offset where the actual content starts.length- the length of the content in the content array.
-
-
-
-