public enum SignerKeyType extends java.lang.Enum<SignerKeyType> implements XdrElement
enum SignerKeyType { SIGNER_KEY_TYPE_ED25519 = KEY_TYPE_ED25519, SIGNER_KEY_TYPE_PRE_AUTH_TX = KEY_TYPE_PRE_AUTH_TX, SIGNER_KEY_TYPE_HASH_X = KEY_TYPE_HASH_X, SIGNER_KEY_TYPE_ED25519_SIGNED_PAYLOAD = KEY_TYPE_ED25519_SIGNED_PAYLOAD };
Enum Constant and Description |
---|
SIGNER_KEY_TYPE_ED25519 |
SIGNER_KEY_TYPE_ED25519_SIGNED_PAYLOAD |
SIGNER_KEY_TYPE_HASH_X |
SIGNER_KEY_TYPE_PRE_AUTH_TX |
Modifier and Type | Method and Description |
---|---|
static SignerKeyType |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
static SignerKeyType |
fromXdrBase64(java.lang.String xdr) |
static SignerKeyType |
fromXdrByteArray(byte[] xdr) |
int |
getValue() |
static SignerKeyType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SignerKeyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
toXdrBase64, toXdrByteArray
public static final SignerKeyType SIGNER_KEY_TYPE_ED25519
public static final SignerKeyType SIGNER_KEY_TYPE_PRE_AUTH_TX
public static final SignerKeyType SIGNER_KEY_TYPE_HASH_X
public static final SignerKeyType SIGNER_KEY_TYPE_ED25519_SIGNED_PAYLOAD
public static SignerKeyType[] values()
for (SignerKeyType c : SignerKeyType.values()) System.out.println(c);
public static SignerKeyType 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 SignerKeyType decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static SignerKeyType fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static SignerKeyType fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException