Class SecuritySuite


  • public class SecuritySuite
    extends java.lang.Object
    This Suite hold the necessary information to authenticate a client to a server and to encrypt and authenticity
    • Method Detail

      • getGlobalUnicastEncryptionKey

        public byte[] getGlobalUnicastEncryptionKey()
        Get the global unicast encryption key.
        Returns:
        the global unicast encryption key.
      • getAuthenticationKey

        public byte[] getAuthenticationKey()
        Get the authentication key.
        Returns:
        the authentication key.
      • getPassword

        public byte[] getPassword()
        Get the password.

        This value is null when an authentication level other than LOW is used

        Returns:
        the password.
      • getEncryptionMechanism

        public SecuritySuite.EncryptionMechanism getEncryptionMechanism()
        Get the encryption mechanism which is used to encrypt the transported data.
        Returns:
        the encryption mechanism .
      • getAuthenticationMechanism

        public AuthenticationMechanism getAuthenticationMechanism()
        Get the authentication mechanism.
        Returns:
        the authentication mechanism.
      • builder

        public static SecuritySuite.SecuritySuiteBuilder builder()
        Creates a new Security Suite builder. With a default config of no authentication and no encryption.
        Returns:
        the new builder.