MCPcopy
hub / github.com/google/gopacket / EAPOLKey

Struct EAPOLKey

layers/eapol.go:138–161  ·  view source on GitHub ↗

EAPOLKey defines an EAPOL-Key frame for 802.1x authentication

Source from the content-addressed store, hash-verified

136
137// EAPOLKey defines an EAPOL-Key frame for 802.1x authentication
138type EAPOLKey struct {
139 BaseLayer
140 KeyDescriptorType EAPOLKeyDescriptorType
141 KeyDescriptorVersion EAPOLKeyDescriptorVersion
142 KeyType EAPOLKeyType
143 KeyIndex uint8
144 Install bool
145 KeyACK bool
146 KeyMIC bool
147 Secure bool
148 MICError bool
149 Request bool
150 HasEncryptedKeyData bool
151 SMKMessage bool
152 KeyLength uint16
153 ReplayCounter uint64
154 Nonce []byte
155 IV []byte
156 RSC uint64
157 ID uint64
158 MIC []byte
159 KeyDataLength uint16
160 EncryptedKeyData []byte
161}
162
163// LayerType returns LayerTypeEAPOLKey.
164func (ek *EAPOLKey) LayerType() gopacket.LayerType {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected