public final class Dot11SsidElement extends Dot11InformationElement
1 1 0-32 +----------+----------+------------- |Element ID| Length | SSID +----------+----------+------------- Element ID: 0A 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(Object obj) |
Dot11SsidElement.Builder |
getBuilder() |
byte[] |
getRawData() |
String |
getSsid() |
int |
hashCode() |
int |
length() |
static Dot11SsidElement |
newInstance(byte[] rawData,
int offset,
int length)
A static factory method.
|
String |
toString() |
String |
toString(String indent) |
getElementId, getLength, getLengthAsInt
public 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 String getSsid()
public int length()
length
in class Dot11InformationElement
public byte[] getRawData()
getRawData
in class Dot11InformationElement
public Dot11SsidElement.Builder getBuilder()
public int hashCode()
hashCode
in class Dot11InformationElement
public boolean equals(Object obj)
equals
in class Dot11InformationElement
Copyright © 2011–2018 Pcap4J.org. All rights reserved.