Package org.ldk.structs
Class Sign
- java.lang.Object
-
- org.ldk.structs.Sign
-
public class Sign extends Object
A writeable signer. There will always be two instances of a signer per channel, one occupied by the [`ChannelManager`] and another by the channel's [`ChannelMonitor`]. [`ChannelManager`]: crate::ln::channelmanager::ChannelManager [`ChannelMonitor`]: crate::chain::channelmonitor::ChannelMonitor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSign.SignInterface
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Signclone()Creates a copy of a Signprotected voidfinalize()BaseSignget_base_sign()Gets the underlying BaseSign.static Signnew_impl(Sign.SignInterface arg, BaseSign.BaseSignInterface BaseSign_impl, ChannelPublicKeys pubkeys)byte[]write()Serialize the object into a byte array
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
new_impl
public static Sign new_impl(Sign.SignInterface arg, BaseSign.BaseSignInterface BaseSign_impl, ChannelPublicKeys pubkeys)
-
get_base_sign
public BaseSign get_base_sign()
Gets the underlying BaseSign.
-
write
public byte[] write()
Serialize the object into a byte array
-
-