Package net.osslabz.lnd.dto
Class LnrpcSignMessageRequest
java.lang.Object
net.osslabz.lnd.dto.LnrpcSignMessageRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-07T12:03:34.958542131Z[Etc/UTC]")
public class LnrpcSignMessageRequest
extends Object
LnrpcSignMessageRequest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbyte[]getMsg()The message to be signed.Instead of the default double-SHA256 hashing of the message before signing, only use one round of hashing instead.inthashCode()msg(byte[] msg) voidsetMsg(byte[] msg) voidsetSingleHash(Boolean singleHash) singleHash(Boolean singleHash) toString()
-
Field Details
-
SERIALIZED_NAME_MSG
- See Also:
-
SERIALIZED_NAME_SINGLE_HASH
- See Also:
-
-
Constructor Details
-
LnrpcSignMessageRequest
public LnrpcSignMessageRequest()
-
-
Method Details
-
msg
-
getMsg
@Nullable public byte[] getMsg()The message to be signed. When using REST, this field must be encoded as base64.- Returns:
- msg
-
setMsg
public void setMsg(byte[] msg) -
singleHash
-
getSingleHash
Instead of the default double-SHA256 hashing of the message before signing, only use one round of hashing instead.- Returns:
- singleHash
-
setSingleHash
-
equals
-
hashCode
public int hashCode() -
toString
-