DotNetLightning


CryptoError Type

An error on cryptography layer. If this happens, normally you should close the connection against the peer. Since it is clear protocol violation.

Union cases

Union case Description

BadMac

Full Usage: BadMac

FailedToParseErrorPacket(packet, sharedSecrets)

Full Usage: FailedToParseErrorPacket(packet, sharedSecrets)

Parameters:
    packet : byte array
    sharedSecrets : (byte array * PubKey) list

packet : byte array
sharedSecrets : (byte array * PubKey) list

InvalidErrorPacketLength(expected, actual)

Full Usage: InvalidErrorPacketLength(expected, actual)

Parameters:
    expected : int
    actual : int

expected : int
actual : int

InvalidMessageLength int

Full Usage: InvalidMessageLength int

Parameters:
    Item : int

Item : int

InvalidPublicKey byte array

Full Usage: InvalidPublicKey byte array

Parameters:
    Item : byte array

Item : byte array

Instance members

Instance member Description

this.Message

Full Usage: this.Message

Returns: string
Returns: string