public class Signer
extends java.lang.Object
SignerKey
objects.Constructor and Description |
---|
Signer() |
Modifier and Type | Method and Description |
---|---|
static io.digitalbits.sdk.xdr.SignerKey |
ed25519PublicKey(KeyPair keyPair)
|
static io.digitalbits.sdk.xdr.SignerKey |
preAuthTx(byte[] hash)
Create
preAuthTx SignerKey from
a transaction hash. |
static io.digitalbits.sdk.xdr.SignerKey |
preAuthTx(Transaction tx)
Create
preAuthTx SignerKey from
a Transaction hash. |
static io.digitalbits.sdk.xdr.SignerKey |
sha256Hash(byte[] hash)
Create
sha256Hash SignerKey from
a sha256 hash of a preimage. |
public static io.digitalbits.sdk.xdr.SignerKey ed25519PublicKey(KeyPair keyPair)
keyPair
- public static io.digitalbits.sdk.xdr.SignerKey sha256Hash(byte[] hash)
sha256Hash
SignerKey
from
a sha256 hash of a preimage.hash
- public static io.digitalbits.sdk.xdr.SignerKey preAuthTx(Transaction tx)
preAuthTx
SignerKey
from
a Transaction
hash.tx
- public static io.digitalbits.sdk.xdr.SignerKey preAuthTx(byte[] hash)
preAuthTx
SignerKey
from
a transaction hash.hash
-