Package org.stellar.sdk.xdr
Class SignerKey
java.lang.Object
org.stellar.sdk.xdr.SignerKey
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SignerKeydecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) static voidencode(XdrDataOutputStream stream, SignerKey encodedSignerKey) booleanstatic SignerKeyfromXdrBase64(String xdr) static SignerKeyfromXdrByteArray(byte[] xdr) getHashX()inthashCode()voidsetDiscriminant(SignerKeyType value) voidsetEd25519(Uint256 value) voidvoidvoidsetPreAuthTx(Uint256 value) byte[]
-
Constructor Details
-
SignerKey
public SignerKey()
-
-
Method Details
-
getDiscriminant
-
setDiscriminant
-
getEd25519
-
setEd25519
-
getPreAuthTx
-
setPreAuthTx
-
getHashX
-
setHashX
-
getEd25519SignedPayload
-
setEd25519SignedPayload
-
encode
public static void encode(XdrDataOutputStream stream, SignerKey encodedSignerKey) throws IOException - Throws:
IOException
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-