Package org.stellar.sdk
Class SignedPayloadSigner
java.lang.Object
org.stellar.sdk.SignedPayloadSigner
Data model for the signed payload signer
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The maximum length of a signed payload -
Constructor Summary
ConstructorDescriptionSignedPayloadSigner
(byte[] signerED25519PublicKey, byte[] payload) constructorSignedPayloadSigner
(@NonNull AccountID signerAccountId, byte @NonNull [] payload) constructor -
Method Summary
-
Field Details
-
SIGNED_PAYLOAD_MAX_PAYLOAD_LENGTH
public static final int SIGNED_PAYLOAD_MAX_PAYLOAD_LENGTHThe maximum length of a signed payload- See Also:
-
-
Constructor Details
-
SignedPayloadSigner
constructor- Parameters:
signerAccountId
- - the xdr AccountIDpayload
- - the raw payload for a signed payload
-
SignedPayloadSigner
public SignedPayloadSigner(byte[] signerED25519PublicKey, byte[] payload) constructor- Parameters:
signerED25519PublicKey
- raw bytes of a ED25519 public key for the signer accountpayload
- the raw payload for a signed payload
-
-
Method Details
-
getSignerAccountId
The account that represents the signed payload signer -
getPayload
public byte[] getPayload()The payload that signatures are produced from -
toString
-
equals
-
hashCode
public int hashCode()
-