Class TransactionSignerServcie
java.lang.Object
org.fisco.bcos.sdk.transaction.signer.TransactionSignerServcie
- All Implemented Interfaces:
TransactionSignerInterface
public class TransactionSignerServcie extends java.lang.Object implements TransactionSignerInterface
-
Constructor Summary
Constructors Constructor Description TransactionSignerServcie(Signature signature)
create the TransactionSignerService according the the given signature -
Method Summary
Modifier and Type Method Description Signature
getSignature()
void
setSignature(Signature signature)
SignatureResult
sign(java.lang.String hash, CryptoKeyPair cryptoKeyPair)
-
Constructor Details
-
TransactionSignerServcie
create the TransactionSignerService according the the given signature- Parameters:
signature
- the signature
-
-
Method Details
-
sign
- Specified by:
sign
in interfaceTransactionSignerInterface
-
getSignature
- Returns:
- the signature
-
setSignature
- Parameters:
signature
- the signature to set
-