- All Implemented Interfaces:
Serializable, Comparable<FamilyKeyCrypto.Result>, java.lang.constant.Constable
- Enclosing class:
FamilyKeyCrypto
Only STORED_KEY is fully trusted. RI_KEY is Java with key in the RI. NO_KEY is i2pd without a key in the RI.
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionKey in the router info could not be decoded.Signature verification failed.Signature could not be decoded.Family name changed since last verification.Router has no family option.Router has a family name but no key and no stored certificate.Router has a family name but no signature.Verified with a key in the router info.Signature changed since last verification, will re-verify.Verified with a stored certificate.Signature type is not available on this router.Constructor Summary
ConstructorsMethod Summary
All MethodsModifier and TypeMethodDescriptionstatic FamilyKeyCrypto.ResultReturns the enum constant of this class with the specified name.static FamilyKeyCrypto.Result[]values()Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
NO_FAMILY
Router has no family option.NO_KEY
Router has a family name but no key and no stored certificate.NO_SIG
Router has a family name but no signature.NAME_CHANGED
Family name changed since last verification.SIG_CHANGED
Signature changed since last verification, will re-verify.INVALID_SIG
Signature could not be decoded.UNSUPPORTED_SIG
Signature type is not available on this router.BAD_KEY
Key in the router info could not be decoded.BAD_SIG
Signature verification failed.RI_KEY
Verified with a key in the router info.STORED_KEY
Verified with a stored certificate.
Constructor Details
Result
private Result()
Method Details
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null