public static enum FamilyKeyCrypto.Result extends Enum<FamilyKeyCrypto.Result>
| Enum Constant and Description |
|---|
BAD_KEYKey in the router info could not be decoded |
BAD_SIGSignature verification failed |
INVALID_SIGSignature could not be decoded |
NAME_CHANGEDFamily name changed since last verification |
NO_FAMILYRouter has no family option |
NO_KEYRouter has a family name but no key and no stored certificate |
NO_SIGRouter has a family name but no signature |
RI_KEYVerified with a key in the router info |
SIG_CHANGEDSignature changed since last verification, will re-verify |
STORED_KEYVerified with a stored certificate |
UNSUPPORTED_SIGSignature type is not available on this router |
| Modifier and Type | Method and Description |
|---|---|
static FamilyKeyCrypto.Result | valueOf(String name)Returns the enum constant of this type with the specified name. |
static FamilyKeyCrypto.Result[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. |
public static final FamilyKeyCrypto.Result BAD_KEY
public static final FamilyKeyCrypto.Result BAD_SIG
public static final FamilyKeyCrypto.Result INVALID_SIG
public static final FamilyKeyCrypto.Result NAME_CHANGED
public static final FamilyKeyCrypto.Result NO_FAMILY
public static final FamilyKeyCrypto.Result NO_KEY
public static final FamilyKeyCrypto.Result NO_SIG
public static final FamilyKeyCrypto.Result RI_KEY
public static final FamilyKeyCrypto.Result SIG_CHANGED
public static final FamilyKeyCrypto.Result STORED_KEY
public static final FamilyKeyCrypto.Result UNSUPPORTED_SIG
public static FamilyKeyCrypto.Result 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 static FamilyKeyCrypto.Result[] values()
for (FamilyKeyCrypto.Result c : FamilyKeyCrypto.Result.values()) System.out.println(c);