class WireNodeRegistration : SignedData<NodeRegistration>
A node registration and its signature as a pair.
<init> |
WireNodeRegistration(raw: SerializedBytes<NodeRegistration>, sig: WithKey) A node registration and its signature as a pair. |
raw |
val raw: SerializedBytes<T> |
sig |
val sig: WithKey |
verifyData |
fun verifyData(data: NodeRegistration): Unit Verify the wrapped data after the signature has been verified and the data deserialised. Provided as an extension point for subclasses. |
verified |
fun verified(): T Return the deserialized data if the signature can be verified. |