simplexmq-6.5.0.16: SimpleXMQ message broker
Safe HaskellSafe-Inferred
LanguageHaskell2010

Simplex.RemoteControl.Invitation

Documentation

data RCInvitation Source #

Constructors

RCInvitation 

Fields

  • ca :: KeyHash

    CA TLS certificate fingerprint of the controller.

    This is part of long term identity of the controller established during the first session, and repeated in the subsequent session announcements.

  • host :: TransportHost
     
  • port :: Word16
     
  • v :: VersionRangeRCP

    Supported version range for remote control protocol

  • app :: Value

    Application information

  • ts :: SystemTime

    Session start time in seconds since epoch

  • skey :: PublicKeyEd25519

    Session Ed25519 public key used to verify the announcement and commands

    This mitigates the compromise of the long term signature key, as the controller will have to sign each command with this key first.

  • idkey :: PublicKeyEd25519

    Long-term Ed25519 public key used to verify the announcement and commands.

    Is apart of the long term controller identity.

  • dh :: PublicKeyX25519

    Session X25519 DH key

Instances

Instances details
Show RCInvitation Source # 
Instance details

Defined in Simplex.RemoteControl.Invitation

Methods

showsPrec :: Int -> RCInvitation -> ShowS

show :: RCInvitation -> String

showList :: [RCInvitation] -> ShowS

StrEncoding RCInvitation Source # 
Instance details

Defined in Simplex.RemoteControl.Invitation

Methods

strEncode :: RCInvitation -> ByteString Source #

strDecode :: ByteString -> Either String RCInvitation Source #

strP :: Parser RCInvitation Source #

data RCSignedInvitation Source #

Instances

Instances details
Show RCSignedInvitation Source # 
Instance details

Defined in Simplex.RemoteControl.Invitation

Methods

showsPrec :: Int -> RCSignedInvitation -> ShowS

show :: RCSignedInvitation -> String

showList :: [RCSignedInvitation] -> ShowS

StrEncoding RCSignedInvitation Source #

URL-encoded and signed for showing in QR code

Instance details

Defined in Simplex.RemoteControl.Invitation

Methods

strEncode :: RCSignedInvitation -> ByteString Source #

strDecode :: ByteString -> Either String RCSignedInvitation Source #

strP :: Parser RCSignedInvitation Source #

newtype RCVerifiedInvitation Source #

Instances

Instances details
Show RCVerifiedInvitation Source # 
Instance details

Defined in Simplex.RemoteControl.Invitation

Methods

showsPrec :: Int -> RCVerifiedInvitation -> ShowS

show :: RCVerifiedInvitation -> String

showList :: [RCVerifiedInvitation] -> ShowS

data RCEncInvitation Source #

Constructors

RCEncInvitation 

Fields

Instances

Instances details
Encoding RCEncInvitation Source # 
Instance details

Defined in Simplex.RemoteControl.Invitation

Methods

smpEncode :: RCEncInvitation -> ByteString Source #

smpDecode :: ByteString -> Either String RCEncInvitation Source #

smpP :: Parser RCEncInvitation Source #