public final class EncryptionStatus
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static EncryptionStatus |
encrypted(java.lang.String cipherName)
Erstellt eine neue Instanz für eine verschlüsselte Verbindung
|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getCipher()
Gibt den Verschlüsselungsalgorithmus zurück
|
int |
hashCode() |
boolean |
isEncrypted()
Gibt
true zurück, wenn die Verbindung verschlüsselt ist |
static EncryptionStatus |
notEncrypted()
Erstellt eine neue Instanz für eine nicht verschlüsselte Verbindung
|
java.lang.String |
toString() |
public static EncryptionStatus notEncrypted()
public static EncryptionStatus encrypted(java.lang.String cipherName)
cipherName
- Verwendeter Verschlüsselungsalgorithmuspublic boolean isEncrypted()
true
zurück, wenn die Verbindung verschlüsselt isttrue
, wenn die Verbindung verschlüsselt ist, sonst false
public java.lang.String getCipher()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object