Package org.ldk.structs
Class Sign
- java.lang.Object
-
- org.ldk.structs.Sign
-
public class Sign extends Object
A cloneable signer. Although we require signers to be cloneable, it may be useful for developers to be able to use signers in an un-sized way, for example as `dyn BaseSign`. Therefore we separate the Clone trait, which implies Sized, into this derived trait.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Sign.SignInterface
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Sign
clone()
Creates a copy of a Signprotected void
finalize()
BaseSign
get_base_sign()
Gets the underlying BaseSign.static Sign
new_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
-
-