Class AuthenticationStatus


  • public class AuthenticationStatus
    extends java.lang.Object
    Informationen über den Authentifizierungsstatus einer Verbindung
    • Method Summary

      Modifier and Type Method Description
      static AuthenticationStatus authenticated​(java.lang.String cipherName)
      Erstellt eine neue Instanz für eine authentifizierte Verbindung
      boolean equals​(java.lang.Object o)  
      java.lang.String getMethod()
      Gibt den Authentifizierungsalgorithmus zurück
      int hashCode()  
      boolean isAuthenticated()
      Gibt true zurück, wenn die Verbindung authentifiziert ist
      static AuthenticationStatus notAuthenticated()
      Erstellt eine neue Instanz für eine nicht authentifizierte Verbindung
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • notAuthenticated

        public static AuthenticationStatus notAuthenticated()
        Erstellt eine neue Instanz für eine nicht authentifizierte Verbindung
        Returns:
        Instanz
      • authenticated

        public static AuthenticationStatus authenticated​(java.lang.String cipherName)
        Erstellt eine neue Instanz für eine authentifizierte Verbindung
        Parameters:
        cipherName - Verwendeter Authentifizierungsalgorithmus
        Returns:
        Instanz
      • isAuthenticated

        public boolean isAuthenticated()
        Gibt true zurück, wenn die Verbindung authentifiziert ist
        Returns:
        true, wenn die Verbindung authentifiziert ist, sonst false
      • getMethod

        public java.lang.String getMethod()
        Gibt den Authentifizierungsalgorithmus zurück
        Returns:
        den Authentifizierungsalgorithmus oder einen Leerstring falls nicht authentifiziert
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object