net.named_data.jndn.encrypt
public static enum Consumer.ErrorCode extends Enum<Consumer.ErrorCode>
| Enum Constant and Description |
|---|
InvalidEncryptedFormat |
IOException |
NoDecryptKey |
SecurityException |
Timeout |
UnsupportedEncryptionScheme |
Validation |
| Modifier and Type | Method and Description |
|---|---|
int |
getNumericType() |
static Consumer.ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Consumer.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Consumer.ErrorCode Timeout
public static final Consumer.ErrorCode Validation
public static final Consumer.ErrorCode UnsupportedEncryptionScheme
public static final Consumer.ErrorCode InvalidEncryptedFormat
public static final Consumer.ErrorCode NoDecryptKey
public static final Consumer.ErrorCode SecurityException
public static final Consumer.ErrorCode IOException
public static Consumer.ErrorCode[] values()
for (Consumer.ErrorCode c : Consumer.ErrorCode.values()) System.out.println(c);
public static Consumer.ErrorCode 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 getNumericType()
Copyright © 2016. All rights reserved.