public enum PublicKeyType extends java.lang.Enum<PublicKeyType> implements XdrElement
enum PublicKeyType
{
PUBLIC_KEY_TYPE_ED25519 = KEY_TYPE_ED25519
};
| Enum Constant and Description |
|---|
PUBLIC_KEY_TYPE_ED25519 |
| Modifier and Type | Method and Description |
|---|---|
static PublicKeyType |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
static PublicKeyType |
fromXdrBase64(java.lang.String xdr) |
static PublicKeyType |
fromXdrByteArray(byte[] xdr) |
int |
getValue() |
static PublicKeyType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PublicKeyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOftoXdrBase64, toXdrByteArraypublic static final PublicKeyType PUBLIC_KEY_TYPE_ED25519
public static PublicKeyType[] values()
for (PublicKeyType c : PublicKeyType.values()) System.out.println(c);
public static PublicKeyType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getValue()
public static PublicKeyType decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOExceptionpublic void encode(XdrDataOutputStream stream) throws java.io.IOException
encode in interface XdrElementjava.io.IOExceptionpublic static PublicKeyType fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOExceptionpublic static PublicKeyType fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException