Class EAPOLMkpduBasicParameterSet.SCI

  • Enclosing class:
    EAPOLMkpduBasicParameterSet

    public static class EAPOLMkpduBasicParameterSet.SCI
    extends java.lang.Object
    MKA Secure Channel Identifier.
    • Constructor Summary

      Constructors 
      Constructor Description
      SCI​(byte[] sci)
      To set SCI from MAC address and port stream.
      SCI​(byte[] address, short port)
      To set SCI from MAC address and port number.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] address()
      To return address.
      byte[] array()
      Convert to byte array.
      short port()
      To return Port.
      void setAdddress​(byte[] address)
      To set address.
      void setPort​(short port)
      TO set Port.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SCI

        public SCI​(byte[] sci)
        To set SCI from MAC address and port stream.
        Parameters:
        sci - , type byte[]
      • SCI

        public SCI​(byte[] address,
                   short port)
            throws java.lang.IllegalArgumentException
        To set SCI from MAC address and port number.
        Parameters:
        address - ,type byte[]
        port - ,type short
        Throws:
        java.lang.IllegalArgumentException - Exceptions
    • Method Detail

      • setAdddress

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

        public byte[] address()
        To return address.
        Returns:
        address , type byte[]
      • setPort

        public void setPort​(short port)
        TO set Port.
        Parameters:
        port - , type short
      • port

        public short port()
        To return Port.
        Returns:
        port , type short
      • array

        public byte[] array()
        Convert to byte array.
        Returns:
        bb.array() ,type byte[]