Class EAPOLMkpduBasicParameterSet

    • Constructor Detail

      • EAPOLMkpduBasicParameterSet

        public EAPOLMkpduBasicParameterSet()
    • Method Detail

      • setMkaVersion

        public void setMkaVersion​(byte version)
        To set MKA Version.
        Parameters:
        version - , type byte
      • getMkaVersion

        public byte getMkaVersion()
        To get MKA Version.
        Returns:
        mkaVersion , type byte
      • setKeyServerPriority

        public void setKeyServerPriority​(byte priority)
        To set Key Server Priority.
        Parameters:
        priority - , type byte
      • getKeyServerPriority

        public byte getKeyServerPriority()
        To get Key Server Priority.
        Returns:
        keyServerPriority, type byte
      • setKeyServer

        public void setKeyServer​(boolean isKeyServer)
        To set Key Server.
        Parameters:
        isKeyServer - , type boolean
      • getKeyServer

        public boolean getKeyServer()
        To get Key Server.
        Returns:
        keyServer, type boolean
      • setMacSecDesired

        public void setMacSecDesired​(boolean desired)
        To set MACSec Desired.
        Parameters:
        desired - , type boolean
      • getMacSecDesired

        public boolean getMacSecDesired()
        To get MACSec Desired.
        Returns:
        macSecDesired , type boolean
      • setMacSecCapability

        public void setMacSecCapability​(byte capability)
        To set MACSec Capacity.
        Parameters:
        capability - ,type byte
      • getMacSecCapacity

        public byte getMacSecCapacity()
        To get MACSec Capacity.
        Returns:
        capability, type byte
      • setBodyLength

        public void setBodyLength​(short length)
        To set body length.
        Parameters:
        length - , type short
      • setSci

        public void setSci​(byte[] sci)
        To set SCI.
        Parameters:
        sci - , byte[]
      • setActorMI

        public void setActorMI​(byte[] mi)
                        throws java.lang.IllegalArgumentException
        To set Member Identifier.
        Parameters:
        mi - , type byte[]
        Throws:
        java.lang.IllegalArgumentException - if mi is not set.
      • getActorMI

        public byte[] getActorMI()
        To get Member Identifier.
        Returns:
        mi, type byte[]
      • setActorMN

        public void setActorMN​(byte[] mn)
                        throws java.lang.IllegalArgumentException
        To set Member Identifier.
        Parameters:
        mn - , type byte[]
        Throws:
        java.lang.IllegalArgumentException - if mn is not set.
      • setActorMN

        public void setActorMN​(int mn)
        To set Member Identifier.
        Parameters:
        mn - , type int
      • getActorMN

        public int getActorMN()
        To get Member Identifier.
        Returns:
        mn, type int
      • setAlgAgility

        public void setAlgAgility​(byte[] algAgility)
                           throws java.lang.IllegalArgumentException
        To set Algorithm Agility.
        Parameters:
        algAgility - , type byte[]
        Throws:
        java.lang.IllegalArgumentException - if algAgility is not set or in incorrect format
      • getAlgAgility

        public byte[] getAlgAgility()
        To get Algorithm Agility.
        Returns:
        algAgility, type byte[]
      • setCKN

        public void setCKN​(byte[] ckn)
        To set CAK name.
        Parameters:
        ckn - , type byte[]
      • getCKN

        public byte[] getCKN()
        To get CAK name.
        Returns:
        ckn , type byte[]
      • setPadding

        public void setPadding​(byte[] padding)
        To set padding.
        Parameters:
        padding - , type byte[]