public enum CipherType extends Enum<CipherType> implements com.google.protobuf.ProtocolMessageEnum
v2ray.core.proxy.shadowsocks.CipherType| 枚举常量和说明 |
|---|
AES_128_CFB
AES_128_CFB = 1; |
AES_128_GCM
AES_128_GCM = 5; |
AES_256_CFB
AES_256_CFB = 2; |
AES_256_GCM
AES_256_GCM = 6; |
CHACHA20
CHACHA20 = 3; |
CHACHA20_IETF
CHACHA20_IETF = 4; |
CHACHA20_POLY1305
CHACHA20_POLY1305 = 7; |
NONE
NONE = 8; |
UNKNOWN
UNKNOWN = 0; |
UNRECOGNIZED |
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
AES_128_CFB_VALUE
AES_128_CFB = 1; |
static int |
AES_128_GCM_VALUE
AES_128_GCM = 5; |
static int |
AES_256_CFB_VALUE
AES_256_CFB = 2; |
static int |
AES_256_GCM_VALUE
AES_256_GCM = 6; |
static int |
CHACHA20_IETF_VALUE
CHACHA20_IETF = 4; |
static int |
CHACHA20_POLY1305_VALUE
CHACHA20_POLY1305 = 7; |
static int |
CHACHA20_VALUE
CHACHA20 = 3; |
static int |
NONE_VALUE
NONE = 8; |
static int |
UNKNOWN_VALUE
UNKNOWN = 0; |
| 限定符和类型 | 方法和说明 |
|---|---|
static CipherType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<CipherType> |
internalGetValueMap() |
static CipherType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static CipherType |
valueOf(int value)
已过时。
Use
forNumber(int) instead. |
static CipherType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static CipherType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final CipherType UNKNOWN
UNKNOWN = 0;public static final CipherType AES_128_CFB
AES_128_CFB = 1;public static final CipherType AES_256_CFB
AES_256_CFB = 2;public static final CipherType CHACHA20
CHACHA20 = 3;public static final CipherType CHACHA20_IETF
CHACHA20_IETF = 4;public static final CipherType AES_128_GCM
AES_128_GCM = 5;public static final CipherType AES_256_GCM
AES_256_GCM = 6;public static final CipherType CHACHA20_POLY1305
CHACHA20_POLY1305 = 7;public static final CipherType NONE
NONE = 8;public static final CipherType UNRECOGNIZED
public static final int UNKNOWN_VALUE
UNKNOWN = 0;public static final int AES_128_CFB_VALUE
AES_128_CFB = 1;public static final int AES_256_CFB_VALUE
AES_256_CFB = 2;public static final int CHACHA20_VALUE
CHACHA20 = 3;public static final int CHACHA20_IETF_VALUE
CHACHA20_IETF = 4;public static final int AES_128_GCM_VALUE
AES_128_GCM = 5;public static final int AES_256_GCM_VALUE
AES_256_GCM = 6;public static final int CHACHA20_POLY1305_VALUE
CHACHA20_POLY1305 = 7;public static final int NONE_VALUE
NONE = 8;public static CipherType[] values()
for (CipherType c : CipherType.values()) System.out.println(c);
public static CipherType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public final int getNumber()
getNumber 在接口中 com.google.protobuf.Internal.EnumLitegetNumber 在接口中 com.google.protobuf.ProtocolMessageEnum@Deprecated public static CipherType valueOf(int value)
forNumber(int) instead.public static CipherType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<CipherType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor 在接口中 com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static CipherType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019. All rights reserved.