Package org.stellar.sdk.xdr
Class PublicKey
java.lang.Object
org.stellar.sdk.xdr.PublicKey
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PublicKeydecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) static voidencode(XdrDataOutputStream stream, PublicKey encodedPublicKey) booleanstatic PublicKeyfromXdrBase64(String xdr) static PublicKeyfromXdrByteArray(byte[] xdr) inthashCode()voidsetDiscriminant(PublicKeyType value) voidsetEd25519(Uint256 value) byte[]
-
Constructor Details
-
PublicKey
public PublicKey()
-
-
Method Details
-
getDiscriminant
-
setDiscriminant
-
getEd25519
-
setEd25519
-
encode
public static void encode(XdrDataOutputStream stream, PublicKey encodedPublicKey) 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
-