public interface TransactionSigner
Modifier and Type | Method and Description |
---|---|
static TransactionSignerImpl |
from(File walletExport)
Creates a new
TransactionSignerImpl from File containing exported wallet |
static TransactionSignerImpl |
from(SignerEntry... entries)
Creates a new
TransactionSignerImpl given the provided
SignerEntry s |
boolean |
isEmpty() |
TransactionSigner |
put(Index credentialIndex,
Index keyIndex,
Signer signer) |
TransactionSignature |
sign(byte[] message)
Signs the input `message`.
|
int |
size() |
TransactionSigner put(Index credentialIndex, Index keyIndex, Signer signer)
TransactionSignature sign(byte[] message)
message
- Input message byte array.TransactionSignature
ED25519Exception
- If the Signing fails.int size()
boolean isEmpty()
static TransactionSignerImpl from(SignerEntry... entries)
TransactionSignerImpl
given the provided
SignerEntry
sentries
- The SignerEntries which should be used for signing the transaction.TransactionSignerImpl
with the populated SignerEntry
static TransactionSignerImpl from(File walletExport) throws IOException
TransactionSignerImpl
from File
containing exported walletwalletExport
- The File
containing an exported walletTransactionSignerImpl
populated with keys from the exported walletIOException
- if provided File
does not contain exported walletCopyright © 2025. All rights reserved.