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 falsepublic java.lang.String getCipher()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object