public enum EcPointFormat extends Enum<EcPointFormat> implements com.google.protobuf.Internal.EnumLite
google.crypto.tink.EcPointFormat| Enum Constant and Description |
|---|
COMPRESSED
COMPRESSED = 2; |
DO_NOT_USE_CRUNCHY_UNCOMPRESSED
Like UNCOMPRESSED but without the \x04 prefix.
|
UNCOMPRESSED
UNCOMPRESSED = 1; |
UNKNOWN_FORMAT
UNKNOWN_FORMAT = 0; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
COMPRESSED_VALUE
COMPRESSED = 2; |
static int |
DO_NOT_USE_CRUNCHY_UNCOMPRESSED_VALUE
Like UNCOMPRESSED but without the \x04 prefix.
|
static int |
UNCOMPRESSED_VALUE
UNCOMPRESSED = 1; |
static int |
UNKNOWN_FORMAT_VALUE
UNKNOWN_FORMAT = 0; |
| Modifier and Type | Method and Description |
|---|---|
static EcPointFormat |
forNumber(int value) |
int |
getNumber() |
static com.google.protobuf.Internal.EnumLiteMap<EcPointFormat> |
internalGetValueMap() |
static com.google.protobuf.Internal.EnumVerifier |
internalGetVerifier() |
static EcPointFormat |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static EcPointFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EcPointFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EcPointFormat UNKNOWN_FORMAT
UNKNOWN_FORMAT = 0;public static final EcPointFormat UNCOMPRESSED
UNCOMPRESSED = 1;public static final EcPointFormat COMPRESSED
COMPRESSED = 2;public static final EcPointFormat DO_NOT_USE_CRUNCHY_UNCOMPRESSED
Like UNCOMPRESSED but without the \x04 prefix. Crunchy uses this format. DO NOT USE unless you are a Crunchy user moving to Tink.
DO_NOT_USE_CRUNCHY_UNCOMPRESSED = 3;public static final EcPointFormat UNRECOGNIZED
public static final int UNKNOWN_FORMAT_VALUE
UNKNOWN_FORMAT = 0;public static final int UNCOMPRESSED_VALUE
UNCOMPRESSED = 1;public static final int COMPRESSED_VALUE
COMPRESSED = 2;public static final int DO_NOT_USE_CRUNCHY_UNCOMPRESSED_VALUE
Like UNCOMPRESSED but without the \x04 prefix. Crunchy uses this format. DO NOT USE unless you are a Crunchy user moving to Tink.
DO_NOT_USE_CRUNCHY_UNCOMPRESSED = 3;public static EcPointFormat[] values()
for (EcPointFormat c : EcPointFormat.values()) System.out.println(c);
public static EcPointFormat 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 nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLite@Deprecated public static EcPointFormat valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static EcPointFormat forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<EcPointFormat> internalGetValueMap()
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()