public enum DataChannelProtectionLevel extends Enum<DataChannelProtectionLevel>
Enum Constant and Description |
---|
CLEAR
Indicates that the data channel will carry the raw data of the file transfer, with no security applied.
|
CONFIDENTIAL
Indicates that the data will be confidentiality protected.
|
PRIVATE
Indicates that the data will be integrity and confidentiality protected.
|
SAFE
Indicates that the data will be integrity protected.
|
Modifier and Type | Method and Description |
---|---|
static DataChannelProtectionLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataChannelProtectionLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataChannelProtectionLevel CLEAR
public static final DataChannelProtectionLevel SAFE
public static final DataChannelProtectionLevel CONFIDENTIAL
public static final DataChannelProtectionLevel PRIVATE
public static DataChannelProtectionLevel[] values()
for (DataChannelProtectionLevel c : DataChannelProtectionLevel.values()) System.out.println(c);
public static DataChannelProtectionLevel valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2016–2024. All rights reserved.