Class EAPOLMkpdu

  • All Implemented Interfaces:
    IPacket

    public class EAPOLMkpdu
    extends BasePacket
    EAPOL MKA (EAPOL MAC Key Agreement Protocol) header.
    • Constructor Detail

      • EAPOLMkpdu

        public EAPOLMkpdu()
    • Method Detail

      • serialize

        public byte[] serialize()
        Description copied from interface: IPacket
        Sets all payloads parent packet if applicable, then serializes this packet and all payloads.
        Returns:
        a byte[] containing this packet and payloads
      • deserializer

        public static Deserializer<EAPOLMkpdu> deserializer()
        Static deserializer for EAPOL-MKA packets.
        Returns:
        deserializer function
      • addParameterSet

        public boolean addParameterSet​(short type,
                                       EAPOLMkpduParameterSet ps)
        Populate various Parameter Sets to store.
        Parameters:
        type - short
        ps - EAPOLMkpduParameterSet
        Returns:
        boolean
      • getBasicParameterSet

        public EAPOLMkpduBasicParameterSet getBasicParameterSet()
        Provide Basic Parameter Set details.
        Returns:
        EAPOLMkpduBasicParameterSet
      • getPeerListParameterSet

        public EAPOLMkpduPeerListParameterSet getPeerListParameterSet()
        Provide Live/Potential Peer List details.
        Returns:
        EAPOLMkpduPeerListParameterSet
      • packetLength

        public short packetLength()
        Total EAPOL-MKPDU packet length. Cumulative length of Parameter Sets.
        Returns:
        length
      • getParameterSet

        public EAPOLMkpduParameterSet getParameterSet​(byte type)
        Retrieve Parameter Set based on type.
        Parameters:
        type - byte
        Returns:
        EAPOLMkpduParameterSet