public class TransactionV1Envelope extends java.lang.Object implements XdrElement
struct TransactionV1Envelope { Transaction tx; /* Each decorated signature is a signature over the SHA256 hash of * a TransactionSignaturePayload */ DecoratedSignature signatures<20>; };
Modifier and Type | Class and Description |
---|---|
static class |
TransactionV1Envelope.TransactionV1EnvelopeBuilder |
Constructor and Description |
---|
TransactionV1Envelope() |
TransactionV1Envelope(Transaction tx,
DecoratedSignature[] signatures) |
Modifier and Type | Method and Description |
---|---|
static TransactionV1Envelope.TransactionV1EnvelopeBuilder |
builder() |
static TransactionV1Envelope |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static TransactionV1Envelope |
fromXdrBase64(java.lang.String xdr) |
static TransactionV1Envelope |
fromXdrByteArray(byte[] xdr) |
DecoratedSignature[] |
getSignatures() |
Transaction |
getTx() |
int |
hashCode() |
void |
setSignatures(DecoratedSignature[] signatures) |
void |
setTx(Transaction tx) |
TransactionV1Envelope.TransactionV1EnvelopeBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public TransactionV1Envelope()
public TransactionV1Envelope(Transaction tx, DecoratedSignature[] signatures)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static TransactionV1Envelope decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static TransactionV1Envelope fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static TransactionV1Envelope fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static TransactionV1Envelope.TransactionV1EnvelopeBuilder builder()
public TransactionV1Envelope.TransactionV1EnvelopeBuilder toBuilder()
public Transaction getTx()
public DecoratedSignature[] getSignatures()
public void setTx(Transaction tx)
public void setSignatures(DecoratedSignature[] signatures)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object