- All Superinterfaces:
SignedTransactionRequest.Signer
An object that provides the signature of a request.
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic Signerwith(io.hotmoka.crypto.api.SignatureAlgorithm<SignedTransactionRequest> signature, KeyPair keys) Yields a signer for the given algorithm with the given key pair.static Signerwith(io.hotmoka.crypto.api.SignatureAlgorithm<SignedTransactionRequest> signature, PrivateKey key) Yields a signer for the given algorithm with the given private key.Methods inherited from interface io.hotmoka.beans.requests.SignedTransactionRequest.Signer
sign
-
Method Details
-
with
static Signer with(io.hotmoka.crypto.api.SignatureAlgorithm<SignedTransactionRequest> signature, KeyPair keys) Yields a signer for the given algorithm with the given key pair.- Parameters:
signature- the signing algorithmkeys- the key pair- Returns:
- the signer
-
with
static Signer with(io.hotmoka.crypto.api.SignatureAlgorithm<SignedTransactionRequest> signature, PrivateKey key) Yields a signer for the given algorithm with the given private key.- Parameters:
signature- the signing algorithmkey- the private key- Returns:
- the signer
-