SignerKeyXdr

sealed class SignerKeyXdr

XDR Source: union SignerKey switch (SignerKeyType type) { case SIGNER_KEY_TYPE_ED25519: uint256 ed25519; case SIGNER_KEY_TYPE_PRE_AUTH_TX: /* SHA-256 Hash of TransactionSignaturePayload structure / uint256 preAuthTx; case SIGNER_KEY_TYPE_HASH_X: / Hash of random 256 bit preimage X / uint256 hashX; case SIGNER_KEY_TYPE_ED25519_SIGNED_PAYLOAD: struct { / Public key that must sign the payload. / uint256 ed25519; / Payload to be raw signed by ed25519. */ opaque payload<64>; } ed25519SignedPayload; };

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class Ed25519(val value: Uint256Xdr) : SignerKeyXdr
Link copied to clipboard
data class HashX(val value: Uint256Xdr) : SignerKeyXdr
Link copied to clipboard
data class PreAuthTx(val value: Uint256Xdr) : SignerKeyXdr

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun encode(writer: XdrWriter)