public final class Dot11SsidElement extends Dot11InformationElement
1 1 0-32
+----------+----------+-------------
|Element ID| Length | SSID
+----------+----------+-------------
Element ID: 0
A SSID field of length 0 is used within Probe Request management frames to indicate the wildcard
SSID. The wildcard SSID is also used in Beacon and Probe Response frames transmitted by mesh
STAs. When the UTF-8 SSID subfield of the Extended Capabilities element is equal to 1 in the
frame that includes the SSID element, the SSID is interpreted using UTF-8 encoding.| Modifier and Type | Class and Description |
|---|---|
static class |
Dot11SsidElement.Builder |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Dot11SsidElement.Builder |
getBuilder() |
byte[] |
getRawData() |
java.lang.String |
getSsid() |
int |
hashCode() |
int |
length() |
static Dot11SsidElement |
newInstance(byte[] rawData,
int offset,
int length)
A static factory method.
|
java.lang.String |
toString() |
java.lang.String |
toString(java.lang.String indent) |
getElementId, getLength, getLengthAsIntpublic static Dot11SsidElement newInstance(byte[] rawData, int offset, int length) throws IllegalRawDataException
ByteArrays.validateBounds(byte[], int, int),
which may throw exceptions undocumented here.rawData - rawDataoffset - offsetlength - lengthIllegalRawDataException - if parsing the raw data fails.public java.lang.String getSsid()
public int length()
length in class Dot11InformationElementpublic byte[] getRawData()
getRawData in class Dot11InformationElementpublic Dot11SsidElement.Builder getBuilder()
public int hashCode()
hashCode in class Dot11InformationElementpublic boolean equals(java.lang.Object obj)
equals in class Dot11InformationElementpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(java.lang.String indent)
indent - indentCopyright © 2011 - 2018 Pcap4J.org. All rights reserved.