signWithAuth method
AptosAccountAuthenticatorMultiEd25519
signWithAuth(
- List<
int> digest, { - List<
AptosED25519PrivateKey> ? signers,
override
Sign the digest using multiple private keys and create the authenticator.
signers
can be provided to select specific private keys.
Implementation
@override
AptosAccountAuthenticatorMultiEd25519 signWithAuth(List<int> digest,
{List<AptosED25519PrivateKey>? signers}) {
final signature = sign(digest, signers: signers, forAuth: true);
return AptosAccountAuthenticatorMultiEd25519(
publicKey: publicKey, signature: signature);
}