Enum Authentication

    • Enum Constant Detail

      • NULL

        public static final Authentication NULL
        No authentication (the cipher suite is anonymous).
      • RSA

        public static final Authentication RSA
        RSA key-based authentication.
      • DSS

        public static final Authentication DSS
        DSS key-based authentication.
      • DH

        public static final Authentication DH
        Diffie-Hellman key-based authentication.
      • ECDH

        public static final Authentication ECDH
        Elliptic curve Diffie-Hellman key-based authentication.
      • KRB5

        public static final Authentication KRB5
        Kerberos V5 authentication.
      • ECDSA

        public static final Authentication ECDSA
        Elliptic curve DSA key-based authentication.
      • PSK

        public static final Authentication PSK
        Pre-shared key (PSK) based authentication.
      • GOST94

        public static final Authentication GOST94
        GOST R 34.10-94 authentication.
      • GOST01

        public static final Authentication GOST01
        GOST R 34.10-2001 authentication.
      • FZA

        public static final Authentication FZA
        Fortezza authentication.
    • Method Detail

      • values

        public static Authentication[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Authentication c : Authentication.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Authentication valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • isFull

        public static boolean isFull​(EnumSet<Authentication> authentications)
        Determine whether the given set is "full" (meaning it contains all possible values).
        Parameters:
        authentications - the set
        Returns:
        true if the set is full, false otherwise
      • in

        public boolean in​(Authentication value1,
                          Authentication value2)
        Determine whether this instance is equal to one of the given instances.
        Parameters:
        value1 - the first instance
        value2 - the second instance
        Returns:
        true if one of the instances matches this one, false otherwise
      • in

        public boolean in​(Authentication value1,
                          Authentication value2,
                          Authentication value3)
        Determine whether this instance is equal to one of the given instances.
        Parameters:
        value1 - the first instance
        value2 - the second instance
        value3 - the third instance
        Returns:
        true if one of the instances matches this one, false otherwise
      • in

        public boolean in​(Authentication... values)
        Determine whether this instance is equal to one of the given instances.
        Parameters:
        values - the values to match against
        Returns:
        true if one of the instances matches this one, false otherwise