java.io.Serializable, java.lang.Comparable<CryptoProtocolVersion>@Private public enum CryptoProtocolVersion extends java.lang.Enum<CryptoProtocolVersion>
| Enum Constant | Description |
|---|---|
ENCRYPTION_ZONES |
|
UNKNOWN |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getDescription() |
|
int |
getUnknownValue() |
|
int |
getVersion() |
|
void |
setUnknownValue(int unknown) |
|
static CryptoProtocolVersion[] |
supported() |
|
static boolean |
supports(CryptoProtocolVersion version) |
Returns if a given protocol version is supported.
|
java.lang.String |
toString() |
|
static CryptoProtocolVersion |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static CryptoProtocolVersion[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CryptoProtocolVersion UNKNOWN
public static final CryptoProtocolVersion ENCRYPTION_ZONES
public static CryptoProtocolVersion[] values()
for (CryptoProtocolVersion c : CryptoProtocolVersion.values()) System.out.println(c);
public static CryptoProtocolVersion valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static CryptoProtocolVersion[] supported()
public static boolean supports(CryptoProtocolVersion version)
version - version numberpublic void setUnknownValue(int unknown)
public int getUnknownValue()
public java.lang.String getDescription()
public int getVersion()
public java.lang.String toString()
toString in class java.lang.Enum<CryptoProtocolVersion>Copyright © 2008–2025 Apache Software Foundation. All rights reserved.