Enum Authentication

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Authentication>

    public enum Authentication
    extends java.lang.Enum<Authentication>
    Enumeration of authentication types used in OpenSSL cipher specifications.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      aNULL
      No authentication (i.e. use ADH or AECDH).
      ANY
      Any authentication (TLS 1.3).
      DH
      Fixed DH authentication (kDHd or kDHr).
      DSS
      DSS authentication.
      ECDH
      Fixed ECDH authentication (kECDHe or kECDHr).
      ECDSA
      ECDSA authentication.
      EdDSA
      EdDSA authentication.
      FZA
      Fortezza authentication.
      GOST01
      GOST R 34.10-2001 authentication.
      GOST94
      GOST R 34.10-94 signature authentication.
      KRB5
      KRB5 authentication.
      MLDSA
      ML-DSA authentication.
      PSK
      PSK authentication.
      RSA
      RSA authentication.
      SRP
      Secure Remote Password authentication.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Authentication valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static Authentication[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • aNULL

        public static final Authentication aNULL
        No authentication (i.e. use ADH or AECDH).
      • DH

        public static final Authentication DH
        Fixed DH authentication (kDHd or kDHr).
      • ECDH

        public static final Authentication ECDH
        Fixed ECDH authentication (kECDHe or kECDHr).
      • ECDSA

        public static final Authentication ECDSA
        ECDSA authentication.
      • GOST94

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

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

        public static final Authentication FZA
        Fortezza authentication.
      • SRP

        public static final Authentication SRP
        Secure Remote Password authentication.
      • EdDSA

        public static final Authentication EdDSA
        EdDSA authentication.
      • MLDSA

        public static final Authentication MLDSA
        ML-DSA authentication.
      • ANY

        public static final Authentication ANY
        Any authentication (TLS 1.3).
    • 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​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null